Home » Hibernate-3.3.2.GA » org.hibernate » proxy » [javadoc | source]
org.hibernate.proxy
public interface: ProxyFactory [javadoc | source]

All Known Implementing Classes:
    MapProxyFactory, Dom4jProxyFactory, Dom4jProxyFactory, MapProxyFactory, CGLIBProxyFactory, CGLIBProxyFactory, JavassistProxyFactory

Contract for run-time, proxy-based lazy initialization proxies.
Method from org.hibernate.proxy.ProxyFactory Summary:
getProxy,   postInstantiate
Method from org.hibernate.proxy.ProxyFactory Detail:
 public HibernateProxy getProxy(Serializable id,
    SessionImplementor session) throws HibernateException
    Create a new proxy instance
 public  void postInstantiate(String entityName,
    Class persistentClass,
    Set interfaces,
    Method getIdentifierMethod,
    Method setIdentifierMethod,
    AbstractComponentType componentIdType) throws HibernateException
    Called immediately after instantiation of this factory.

    Essentially equivalent to contructor injection, but contracted here via interface.