Interface TransactionListener
public interface TransactionListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
afterTransaction
(TransactionControl transactionControl) Called after the transaction is completed (commit or rollback)default void
onCommit
(TransactionControl transactionControl) Called before the transaction will be committeddefault void
onRollback
(TransactionControl transactionControl) Called before the transaction will be rolled backdefault void
onTransactionStart
(TransactionControl transactionControl) Called when the transaction has been started
-
Method Details
-
onTransactionStart
Called when the transaction has been started -
onCommit
Called before the transaction will be committed -
onRollback
Called before the transaction will be rolled back -
afterTransaction
Called after the transaction is completed (commit or rollback)
-