Package io.ebean
Class TransactionCallbackAdapter
java.lang.Object
io.ebean.TransactionCallbackAdapter
- All Implemented Interfaces:
TransactionCallback
Adapter that can be extended for easier implementation of TransactionCallback.
Provides 'no operation' implementation for each of the TransactionCallback methods. It is expected that this
class is extended and override the methods you need to.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform processing just after the transaction commit.voidPerform processing just after the transaction rollback.voidPerform processing just prior to the transaction commit.voidPerform processing just prior to the transaction rollback.
-
Constructor Details
-
TransactionCallbackAdapter
public TransactionCallbackAdapter()
-
-
Method Details
-
preCommit
Perform processing just prior to the transaction commit.- Specified by:
preCommitin interfaceTransactionCallback
-
postCommit
Perform processing just after the transaction commit.- Specified by:
postCommitin interfaceTransactionCallback
-
preRollback
Perform processing just prior to the transaction rollback.- Specified by:
preRollbackin interfaceTransactionCallback
-
postRollback
Perform processing just after the transaction rollback.- Specified by:
postRollbackin interfaceTransactionCallback
-