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
GenericExecutionListenerpublishing events using the CDI event infrastructure.- Author:
- Daniel Meyer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractCdiEventListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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[]getQualifiers(BusinessProcessEvent event)voidnotify(org.camunda.bpm.engine.delegate.DelegateExecution execution)voidnotify(org.camunda.bpm.engine.delegate.DelegateTask task)
-
-
-
Method Detail
-
fireEvent
protected abstract void fireEvent(BusinessProcessEvent event, Annotation[] qualifiers)
-
notify
public void notify(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception- 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
protected BusinessProcessEvent createEvent(org.camunda.bpm.engine.delegate.DelegateTask task)
-
getQualifiers
protected Annotation[] getQualifiers(BusinessProcessEvent event)
-
-