org.camunda.bpm.engine.cdi.impl.event
Class CdiEventListener

java.lang.Object
  extended by org.camunda.bpm.engine.cdi.impl.event.CdiEventListener
All Implemented Interfaces:
Serializable, DelegateListener<DelegateExecution>, ExecutionListener, TaskListener
Direct Known Subclasses:
CdiExecutionListener

public class CdiEventListener
extends Object
implements TaskListener, ExecutionListener, Serializable

Generic ExecutionListener 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.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
 
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
 
Constructor Summary
CdiEventListener()
           
 
Method Summary
protected  BusinessProcessEvent createEvent(DelegateExecution execution)
           
protected  BusinessProcessEvent createEvent(DelegateTask task)
           
protected  javax.enterprise.inject.spi.BeanManager getBeanManager()
           
protected  Annotation[] getQualifiers(BusinessProcessEvent event)
           
 void notify(DelegateExecution execution)
           
 void notify(DelegateTask task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiEventListener

public CdiEventListener()
Method Detail

notify

public void notify(DelegateExecution execution)
            throws Exception
Specified by:
notify in interface DelegateListener<DelegateExecution>
Specified by:
notify in interface ExecutionListener
Throws:
Exception

notify

public void notify(DelegateTask task)
Specified by:
notify in interface TaskListener

createEvent

protected BusinessProcessEvent createEvent(DelegateExecution execution)

createEvent

protected BusinessProcessEvent createEvent(DelegateTask task)

getBeanManager

protected javax.enterprise.inject.spi.BeanManager getBeanManager()

getQualifiers

protected Annotation[] getQualifiers(BusinessProcessEvent event)


Copyright © 2015 camunda services GmbH. All rights reserved.