org.hibernate.proxy
Interface ProxyFactory

All Known Implementing Classes:
CGLIBProxyFactory, Dom4jProxyFactory, MapProxyFactory

public interface ProxyFactory

Author:
Gavin King

Method Summary
 HibernateProxy getProxy(Serializable id, SessionImplementor session)
          Create a new proxy
 void postInstantiate(String entityName, Class persistentClass, Set interfaces, Method getIdentifierMethod, Method setIdentifierMethod, AbstractComponentType componentIdType)
          Called immediately after instantiation
 

Method Detail

postInstantiate

public void postInstantiate(String entityName,
                            Class persistentClass,
                            Set interfaces,
                            Method getIdentifierMethod,
                            Method setIdentifierMethod,
                            AbstractComponentType componentIdType)
                     throws HibernateException
Called immediately after instantiation

Throws:
HibernateException

getProxy

public HibernateProxy getProxy(Serializable id,
                               SessionImplementor session)
                        throws HibernateException
Create a new proxy

Throws:
HibernateException