|
|||||||||
| Home >> All >> org >> hibernate >> [ proxy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hibernate.proxy
Interface ProxyFactory

- All Known Implementing Classes:
- CGLIBProxyFactory, Dom4jProxyFactory, MapProxyFactory
- public interface ProxyFactory
Contract for run-time, proxy-based lazy initialization proxies.
| Method Summary | |
HibernateProxy |
getProxy(java.io.Serializable id,
org.hibernate.engine.SessionImplementor session)
Create a new proxy instance |
void |
postInstantiate(java.lang.String entityName,
java.lang.Class persistentClass,
java.util.Set interfaces,
java.lang.reflect.Method getIdentifierMethod,
java.lang.reflect.Method setIdentifierMethod,
org.hibernate.type.AbstractComponentType componentIdType)
Called immediately after instantiation of this factory. |
| Method Detail |
postInstantiate
public void postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.AbstractComponentType componentIdType) throws org.hibernate.HibernateException
- Called immediately after instantiation of this factory.
Essentially equivalent to contructor injection, but contracted
here via interface.
getProxy
public HibernateProxy getProxy(java.io.Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
- Create a new proxy instance
|
|||||||||
| Home >> All >> org >> hibernate >> [ proxy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC