net.sf.beanlib.hibernate3
Class DtoCentricHibernate3Template.DtoCentricCloseSuppressingInvocationHandler
java.lang.Object
net.sf.beanlib.hibernate3.DtoCentricHibernate3Template.DtoCentricCloseSuppressingInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
- Enclosing class:
- DtoCentricHibernate3Template
public class DtoCentricHibernate3Template.DtoCentricCloseSuppressingInvocationHandler
- extends Object
- implements InvocationHandler
Cloned from HibernateTemplate.CloseSuppressingInvocationHandler
so we can dig out the target session, if needs be.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private final Session target
DtoCentricHibernate3Template.DtoCentricCloseSuppressingInvocationHandler
public DtoCentricHibernate3Template.DtoCentricCloseSuppressingInvocationHandler(Session target)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
getTarget
public Session getTarget()