org.jboss.ejb3.entity.hibernate
Class ExtendedSessionInvocationHandler
java.lang.Object
org.jboss.ejb3.entity.hibernate.ExtendedSessionInvocationHandler
- All Implemented Interfaces:
- java.io.Serializable, java.lang.reflect.InvocationHandler
public class ExtendedSessionInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler, java.io.Serializable
Handle method execution delegation to an Hibernate Session following the extended persistence context rules
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedSessionInvocationHandler
public ExtendedSessionInvocationHandler(java.lang.String identity)
ExtendedSessionInvocationHandler
public ExtendedSessionInvocationHandler()
getPersistenceContext
public javax.persistence.EntityManager getPersistenceContext()
getHibernateSession
public org.hibernate.Session getHibernateSession()
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable