Interface TransactionListener


public interface TransactionListener
トランザクションのcommit、rollbackの通知を受け取るためのインタフェースです。
See Also:
Transaction
  • Method Summary

    Modifier and Type Method Description
    default void afterCommit​(Transaction t)
    トランザクションがcommitされた場合、通知されます。
    default void afterRollback​(Transaction t)
    トランザクションがrollbackされた場合、通知されます。
  • Method Details

    • afterCommit

      default void afterCommit​(Transaction t)
      トランザクションがcommitされた場合、通知されます。
      Parameters:
      t -
    • afterRollback

      default void afterRollback​(Transaction t)
      トランザクションがrollbackされた場合、通知されます。
      Parameters:
      t -