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

java.lang.Object
  extended by org.camunda.bpm.engine.cdi.impl.event.CdiExecutionListener
All Implemented Interfaces:
Serializable, ExecutionListener

public class CdiExecutionListener
extends Object
implements 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.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
 
Constructor Summary
CdiExecutionListener()
           
 
Method Summary
protected  BusinessProcessEvent createEvent(DelegateExecution execution)
           
protected  javax.enterprise.inject.spi.BeanManager getBeanManager()
           
protected  Annotation[] getQualifiers(BusinessProcessEvent event)
           
 void notify(DelegateExecution execution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiExecutionListener

public CdiExecutionListener()
Method Detail

notify

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

createEvent

protected BusinessProcessEvent createEvent(DelegateExecution execution)

getBeanManager

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

getQualifiers

protected Annotation[] getQualifiers(BusinessProcessEvent event)


Copyright © 2014 camunda services GmbH. All Rights Reserved.