Package org.jboss.as.jpa.container
Class JPAUserTransactionListener
- java.lang.Object
-
- org.jboss.as.jpa.container.JPAUserTransactionListener
-
- All Implemented Interfaces:
EventListener,org.jboss.tm.usertx.UserTransactionListener
public class JPAUserTransactionListener extends Object implements org.jboss.tm.usertx.UserTransactionListener
Listens for UserTransaction events and handles associating the extended persistence context with the Jakarta Transactions transaction. JPA 2.0 section 7.9.1 Container Responsibilities: "For stateful session beans with extended persistence contexts: When a business method of the stateful session bean is invoked, if the stateful session bean uses bean managed transaction demarcation and a UserTransaction is begun within the method, the container associates the persistence context with the Jakarta Transactions transaction and calls EntityManager.joinTransaction. "- Author:
- Scott Marlow
-
-
Constructor Summary
Constructors Constructor Description JPAUserTransactionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiduserTransactionStarted()
-