Class 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
    Generic ExecutionListener publishing events using the cdi event infrastructure.
    Author:
    Daniel Meyer
    See Also:
    Serialized Form
    • Constructor Detail

      • CdiEventListener

        public CdiEventListener()
    • Method Detail

      • 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)
      • getBeanManager

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