Package org.jboss.as.jpa.container
Class EntityManagerUnwrappedTargetInvocationHandler
java.lang.Object
org.jboss.as.jpa.container.EntityManagerUnwrappedTargetInvocationHandler
- All Implemented Interfaces:
Serializable,InvocationHandler
public class EntityManagerUnwrappedTargetInvocationHandler
extends Object
implements InvocationHandler, Serializable
Handle method execution delegation to a wrapped object using the passed entity manager to obtain the target
invocation target. Forked from Emmanuel's org.jboss.ejb3.entity.hibernate.TransactionScopedSessionInvocationHandler.
- Author:
- Emmanuel Bernard, Scott Marlow
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityManagerUnwrappedTargetInvocationHandler(jakarta.persistence.EntityManager targetEntityManager, Class<?> wrappedClass) -
Method Summary
-
Constructor Details
-
EntityManagerUnwrappedTargetInvocationHandler
public EntityManagerUnwrappedTargetInvocationHandler() -
EntityManagerUnwrappedTargetInvocationHandler
public EntityManagerUnwrappedTargetInvocationHandler(jakarta.persistence.EntityManager targetEntityManager, Class<?> wrappedClass)
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-