Class AbstractCdiEventListener
java.lang.Object
org.camunda.bpm.engine.cdi.impl.event.AbstractCdiEventListener
- All Implemented Interfaces:
Serializable,org.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>,org.camunda.bpm.engine.delegate.ExecutionListener,org.camunda.bpm.engine.delegate.TaskListener
- Direct Known Subclasses:
CdiEventListener
public abstract class AbstractCdiEventListener
extends Object
implements org.camunda.bpm.engine.delegate.TaskListener, org.camunda.bpm.engine.delegate.ExecutionListener, Serializable
Generic
ExecutionListener publishing events using the CDI event
infrastructure.- Author:
- Daniel Meyer
- See Also:
-
Field Summary
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKEFields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BusinessProcessEventcreateEvent(org.camunda.bpm.engine.delegate.DelegateExecution execution) protected BusinessProcessEventcreateEvent(org.camunda.bpm.engine.delegate.DelegateTask task) protected abstract voidfireEvent(BusinessProcessEvent event, Annotation[] qualifiers) protected Annotation[]voidnotify(org.camunda.bpm.engine.delegate.DelegateExecution execution) voidnotify(org.camunda.bpm.engine.delegate.DelegateTask task)
-
Constructor Details
-
AbstractCdiEventListener
public AbstractCdiEventListener()
-
-
Method Details
-
fireEvent
-
notify
- Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>- Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.ExecutionListener- Throws:
Exception
-
notify
public void notify(org.camunda.bpm.engine.delegate.DelegateTask task) - Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.TaskListener
-
createEvent
protected BusinessProcessEvent createEvent(org.camunda.bpm.engine.delegate.DelegateExecution execution) -
createEvent
-
getQualifiers
-