Package io.jmix.data.impl
Interface BeforeCommitTransactionListener
public interface BeforeCommitTransactionListener
Interface for listeners notified before transaction commit. They are invoked after all "Before" but before "After"
entity listeners.
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeCommit
(String storeName, Collection<Object> managedEntities) Invoked before transaction commit.
-
Method Details
-
beforeCommit
Invoked before transaction commit.- Parameters:
storeName
- data store namemanagedEntities
- current persistence context, i.e. a collection of entities in Managed state
-