org.hibernate.proxy.dom4j

Class Dom4jProxyFactory

Implemented Interfaces:
ProxyFactory

public class Dom4jProxyFactory
extends java.lang.Object
implements ProxyFactory

Builds proxies for "dom4j" entity representations.
Author:
Steve Ebersole

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

Method Details

getProxy

public HibernateProxy getProxy(Serializable id,
                               SessionImplementor session)
            throws HibernateException
Create a new proxy
Specified by:
getProxy in interface ProxyFactory

postInstantiate

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