Class PersistenceContextSpecificEntityTransactionManager
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.PersistenceContextSpecificEntityTransactionManager
-
public class PersistenceContextSpecificEntityTransactionManager extends 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<Boolean> invokable)
void
addBeforeCommitInvokable(Invokable<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<Boolean> invokable)
-
addAfterCommitInvokable
public void addAfterCommitInvokable(Invokable<Boolean> invokable)
-
invokeInTransaction
public <T> T invokeInTransaction(Invokable<T> invokable)
-
-