org.jboss.ejb3.entity.hibernate
Class ExtendedSessionInvocationHandler
java.lang.Object
org.jboss.ejb3.entity.hibernate.ExtendedSessionInvocationHandler
- All Implemented Interfaces:
- Serializable, InvocationHandler
public class ExtendedSessionInvocationHandler
- extends Object
- implements InvocationHandler, Serializable
Handle method execution delegation to an Hibernate Session following the extended persistence context rules
- Author:
- Emmanuel Bernard
- 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(String identity)
ExtendedSessionInvocationHandler
public ExtendedSessionInvocationHandler()
getPersistenceContext
public javax.persistence.EntityManager getPersistenceContext()
getHibernateSession
public org.hibernate.Session getHibernateSession()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.