Interface TransactionObserver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void afterBegin()
      Callback for processing the beginning of a transaction.
      void afterCompletion​(boolean successful, boolean delayed)
      Callback for processing the last phase of transaction completion.
      void beforeCompletion()
      Callback for processing the initial phase of transaction completion.
    • Method Detail

      • afterBegin

        void afterBegin()
        Callback for processing the beginning of a transaction.

        Do not rely on this being called as the transaction may be started in some way other than via the Transaction API.

      • beforeCompletion

        void beforeCompletion()
        Callback for processing the initial phase of transaction completion.
      • afterCompletion

        void afterCompletion​(boolean successful,
                             boolean delayed)
        Callback for processing the last phase of transaction completion.
        Parameters:
        successful - Was the transaction successful?