org.hibernate.proxy
Class Dom4jProxyFactory

java.lang.Object
  extended byorg.hibernate.proxy.Dom4jProxyFactory
All Implemented Interfaces:
ProxyFactory

public class Dom4jProxyFactory
extends Object
implements ProxyFactory

Builds proxies for "dom4j" entity representations.

Author:
Steve Ebersole

Constructor Summary
Dom4jProxyFactory()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dom4jProxyFactory

public Dom4jProxyFactory()
Method Detail

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
Throws:
HibernateException

getProxy

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

Specified by:
getProxy in interface ProxyFactory
Throws:
HibernateException