public interface BeforeCommitTransactionListener
BeforeCommitTransactionListener 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 |
beforeCommit(EntityManager entityManager,
java.util.Collection<Entity> managedEntities)
Invoked before transaction commit.
|
void beforeCommit(EntityManager entityManager, java.util.Collection<Entity> managedEntities)
entityManager - current EntityManagermanagedEntities - current persistence context, i.e. a collection of entities in Managed state