Class EventRegistrationCreationAfterCommitListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.event.impl.entitylistener.registrationcreation.EventRegistrationCreationAfterCommitListener
- All Implemented Interfaces:
ContextListener, EntityListener, CommitListener, EventListener
Listener that allows contributing tasks that run in one after commit task when a registration is created.
-
Constructor Summary
ConstructorsConstructorDescriptionEventRegistrationCreationAfterCommitListener(CommandExecutor commandExecutor, Context context, SecurityManager securityManager) -
Method Summary
Methods inherited from class CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollectorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommitListener
afterFlush, priorityMethods inherited from interface ContextListener
transactionStarted
-
Constructor Details
-
EventRegistrationCreationAfterCommitListener
public EventRegistrationCreationAfterCommitListener(CommandExecutor commandExecutor, Context context, SecurityManager securityManager)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTaskin classCollectingAfterCommitListener
-
setTasks
-