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
Generic ExecutionListener publishing events using the CDI event infrastructure.
Author:
Daniel Meyer
See Also:
  • Constructor Details

    • AbstractCdiEventListener

      public AbstractCdiEventListener()
  • Method Details

    • fireEvent

      protected abstract void fireEvent(BusinessProcessEvent event, Annotation[] qualifiers)
    • notify

      public void notify(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception
      Specified by:
      notify in interface org.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>
      Specified by:
      notify in interface org.camunda.bpm.engine.delegate.ExecutionListener
      Throws:
      Exception
    • notify

      public void notify(org.camunda.bpm.engine.delegate.DelegateTask task)
      Specified by:
      notify in interface org.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)