Interface TransactionListener


public interface TransactionListener
  • Method Details

    • onTransactionStart

      default void onTransactionStart(TransactionControl transactionControl)
      Called when the transaction has been started
    • onCommit

      default void onCommit(TransactionControl transactionControl)
      Called before the transaction will be committed
    • onRollback

      default void onRollback(TransactionControl transactionControl)
      Called before the transaction will be rolled back
    • afterTransaction

      default void afterTransaction(TransactionControl transactionControl)
      Called after the transaction is completed (commit or rollback)