Class CdiEventListener
- java.lang.Object
-
- org.camunda.bpm.engine.cdi.impl.event.CdiEventListener
-
- All Implemented Interfaces:
java.io.Serializable
,DelegateListener<DelegateExecution>
,ExecutionListener
,TaskListener
- Direct Known Subclasses:
CdiExecutionListener
public class CdiEventListener extends java.lang.Object implements TaskListener, ExecutionListener, java.io.Serializable
GenericExecutionListener
publishing events using the cdi event infrastructure.- Author:
- Daniel Meyer
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description CdiEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BusinessProcessEvent
createEvent(DelegateExecution execution)
protected BusinessProcessEvent
createEvent(DelegateTask task)
protected javax.enterprise.inject.spi.BeanManager
getBeanManager()
protected java.lang.annotation.Annotation[]
getQualifiers(BusinessProcessEvent event)
void
notify(DelegateExecution execution)
void
notify(DelegateTask task)
-
-
-
Method Detail
-
notify
public void notify(DelegateExecution execution) throws java.lang.Exception
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
java.lang.Exception
-
notify
public void notify(DelegateTask task)
- Specified by:
notify
in interfaceTaskListener
-
createEvent
protected BusinessProcessEvent createEvent(DelegateExecution execution)
-
createEvent
protected BusinessProcessEvent createEvent(DelegateTask task)
-
getBeanManager
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
-
getQualifiers
protected java.lang.annotation.Annotation[] getQualifiers(BusinessProcessEvent event)
-
-