Interface TransactionalAction

    • Method Detail

      • onBeforeCommit

        void onBeforeCommit()
        This method is called before the commit is about to happen. If this method throws an exception the transaction will be rolled back.
      • onAfterCommit

        void onAfterCommit()
        Called after a successful commit. Implementations should not throw any exceptions from this method. If they do, the message is logged, by no other action is taken.
      • onRollback

        void onRollback()
        Called after an unsuccessful commit. Implementations should not throw any exceptions from this method. If they do, the message is logged, by no other action is taken.