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(String unitName, Invokable<Boolean> invokable)
void
invokeBeforeCommit(String unitName, Invokable<Boolean> invokable)
<T> T
invokeInTransaction(String unitName, Invokable<T> invokable)
void
runInTransaction(String unitName, Runnable runnable)
-
-
-
Method Detail
-
runInTransaction
void runInTransaction(String unitName, Runnable runnable)
-
invokeInTransaction
<T> T invokeInTransaction(String unitName, Invokable<T> invokable)
-
invokeBeforeCommit
void invokeBeforeCommit(String unitName, Invokable<Boolean> invokable)
-
invokeAfterCommit
void invokeAfterCommit(String unitName, Invokable<Boolean> invokable)
-
-