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

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


net.sf.hibernate.proxy
Interface ProxyFactory

All Known Implementing Classes:
CGLIBProxyFactory

public interface ProxyFactory

Author:
Gavin King

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
 

Method Detail

postInstantiate

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

Throws:
HibernateException

getProxy

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

Throws:
HibernateException