Class ManagedConnection.CompletionListener

    • Constructor Summary

      Modifier Constructor Description
      protected CompletionListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterCompletion​(TransactionContext completedContext, boolean committed)
      Occurs after the transaction commits or rolls back.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompletionListener

        protected CompletionListener()
    • Method Detail

      • afterCompletion

        public void afterCompletion​(TransactionContext completedContext,
                                    boolean committed)
        Description copied from interface: TransactionContextListener
        Occurs after the transaction commits or rolls back.
        Specified by:
        afterCompletion in interface TransactionContextListener
        completedContext - the transaction context that completed
        committed - true if the transaction committed; false otherwise