Class CdiEventListener
- java.lang.Object
-
- org.camunda.bpm.engine.cdi.impl.event.CdiEventListener
-
- 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:
CdiExecutionListener
public class CdiEventListener 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 CdiEventListener()
-
Method Summary
All Methods Instance 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 javax.enterprise.inject.spi.BeanManagergetBeanManager()protected Annotation[]getQualifiers(BusinessProcessEvent event)voidnotify(org.camunda.bpm.engine.delegate.DelegateExecution execution)voidnotify(org.camunda.bpm.engine.delegate.DelegateTask task)
-
-
-
Method Detail
-
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)
-
getBeanManager
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
-
getQualifiers
protected Annotation[] getQualifiers(BusinessProcessEvent event)
-
-