Class AbstractCdiEventListener
java.lang.Object
org.camunda.bpm.engine.cdi.impl.event.AbstractCdiEventListener
- All Implemented Interfaces:
Serializable
,DelegateListener<DelegateExecution>
,ExecutionListener
,TaskListener
- Direct Known Subclasses:
CdiEventListener
public abstract class AbstractCdiEventListener
extends Object
implements TaskListener, 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_TAKE
Fields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BusinessProcessEvent
createEvent
(DelegateExecution execution) protected BusinessProcessEvent
createEvent
(DelegateTask task) protected abstract void
fireEvent
(BusinessProcessEvent event, Annotation[] qualifiers) protected Annotation[]
void
notify
(DelegateExecution execution) void
notify
(DelegateTask task)
-
Constructor Details
-
AbstractCdiEventListener
public AbstractCdiEventListener()
-
-
Method Details
-
fireEvent
-
notify
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
Exception
-
notify
- Specified by:
notify
in interfaceTaskListener
-
createEvent
-
createEvent
-
getQualifiers
-