org.hibernate.proxy
Class CGLIBProxyFactory

java.lang.Object
  extended byorg.hibernate.proxy.CGLIBProxyFactory
All Implemented Interfaces:
ProxyFactory

public class CGLIBProxyFactory
extends Object
implements ProxyFactory

Author:
Gavin King

Field Summary
protected static Class[] NO_CLASSES
           
 
Constructor Summary
CGLIBProxyFactory()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_CLASSES

protected static final Class[] NO_CLASSES
Constructor Detail

CGLIBProxyFactory

public CGLIBProxyFactory()
Method Detail

postInstantiate

public void postInstantiate(String entityName,
                            Class persistentClass,
                            Set interfaces,
                            Method getIdentifierMethod,
                            Method setIdentifierMethod,
                            AbstractComponentType componentIdType)
                     throws HibernateException
Description copied from interface: ProxyFactory
Called immediately after instantiation

Specified by:
postInstantiate in interface ProxyFactory
Throws:
HibernateException

getProxy

public HibernateProxy getProxy(Serializable id,
                               SessionImplementor session)
                        throws HibernateException
Description copied from interface: ProxyFactory
Create a new proxy

Specified by:
getProxy in interface ProxyFactory
Throws:
HibernateException