public interface TransactionAssistant extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Call before completing the transaction in order
to free up resources used by the app server.
|
<O> O |
executeInActiveTransaction(ExecuteCallback<O> tc)
Submit some work (a function) to be bound into the
currently active transaction.
|
<O> O executeInActiveTransaction(ExecuteCallback<O> tc) throws Exception
Exceptionvoid close()
close in interface AutoCloseableCopyright © 2015 Ant Kutschera. All rights reserved.