Package org.apache.tapestry5.jpa
Interface EntityTransactionManager
-
- All Known Implementing Classes:
EntityTransactionManagerImpl
public interface EntityTransactionManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EntityTransactionManager.VoidInvokable
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invokeAfterCommit(java.lang.String unitName, Invokable<java.lang.Boolean> invokable)
void
invokeBeforeCommit(java.lang.String unitName, Invokable<java.lang.Boolean> invokable)
<T> T
invokeInTransaction(java.lang.String unitName, Invokable<T> invokable)
void
runInTransaction(java.lang.String unitName, java.lang.Runnable runnable)
-
-
-
Method Detail
-
runInTransaction
void runInTransaction(java.lang.String unitName, java.lang.Runnable runnable)
-
invokeInTransaction
<T> T invokeInTransaction(java.lang.String unitName, Invokable<T> invokable)
-
invokeBeforeCommit
void invokeBeforeCommit(java.lang.String unitName, Invokable<java.lang.Boolean> invokable)
-
invokeAfterCommit
void invokeAfterCommit(java.lang.String unitName, Invokable<java.lang.Boolean> invokable)
-
-