站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

CGLIBProxyFactory (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.proxy
Class CGLIBProxyFactory

java.lang.Object
  extended bynet.sf.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(Class persistentClass, Set interfaces, Method getIdentifierMethod, Method setIdentifierMethod)
          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(Class persistentClass,
                            Set interfaces,
                            Method getIdentifierMethod,
                            Method setIdentifierMethod)
                     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