Interface AfterCompleteTransactionListener


public interface AfterCompleteTransactionListener
Interface for listeners notified after transaction completion.

AfterCompleteTransactionListener must be implemented by managed beans. They can also implement the Ordered interface to influence their execution order. A listener that does not implement the Ordered interface is appended to the end of the invocation list.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterComplete(boolean committed, Collection<Object> detachedEntities)
    Invoked after transaction completion.
  • Method Details

    • afterComplete

      void afterComplete(boolean committed, Collection<Object> detachedEntities)
      Invoked after transaction completion.
      Parameters:
      committed - true if the transaction was committed
      detachedEntities - collection of entities in Detached state that made up the persistence context of the completed transaction