public interface AfterCompleteTransactionListener
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.
Modifier and Type | Method and Description |
---|---|
void |
afterComplete(boolean committed,
java.util.Collection<Entity> detachedEntities)
Invoked after transaction completion.
|
void afterComplete(boolean committed, java.util.Collection<Entity> detachedEntities)
committed
- true if the transaction was committeddetachedEntities
- collection of entities in Detached state
that made up the persistence context of the completed transaction