Class PersistenceContextSpecificEntityTransactionManager
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.PersistenceContextSpecificEntityTransactionManager
-
public class PersistenceContextSpecificEntityTransactionManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PersistenceContextSpecificEntityTransactionManager(org.slf4j.Logger logger, EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAfterCommitInvokable(Invokable<java.lang.Boolean> invokable)
void
addBeforeCommitInvokable(Invokable<java.lang.Boolean> invokable)
<T> T
invokeInTransaction(Invokable<T> invokable)
-
-
-
Constructor Detail
-
PersistenceContextSpecificEntityTransactionManager
public PersistenceContextSpecificEntityTransactionManager(org.slf4j.Logger logger, EntityManager entityManager)
-
-
Method Detail
-
addBeforeCommitInvokable
public void addBeforeCommitInvokable(Invokable<java.lang.Boolean> invokable)
-
addAfterCommitInvokable
public void addAfterCommitInvokable(Invokable<java.lang.Boolean> invokable)
-
invokeInTransaction
public <T> T invokeInTransaction(Invokable<T> invokable)
-
-