Class ProcessApplicationEventListenerDelegate
- java.lang.Object
-
- org.camunda.bpm.application.impl.event.ProcessApplicationEventListenerDelegate
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>,ExecutionListener,TaskListener
public class ProcessApplicationEventListenerDelegate extends Object implements ExecutionListener, TaskListener
ExecutionListenerandTaskListenerimplementation delegating to theExecutionListenerandTaskListenerprovided by aProcessApplication.If the process application does not provide an execution listener (ie.
ProcessApplicationInterface.getExecutionListener()returns null), the request is silently ignored.If the process application does not provide a task listener (ie.
ProcessApplicationInterface.getTaskListener()returns null), the request is silently ignored.- Author:
- Daniel Meyer
- See Also:
ProcessApplicationInterface.getExecutionListener(),ProcessApplicationInterface.getTaskListener()
-
-
Field Summary
-
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
Fields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE
-
-
Constructor Summary
Constructors Constructor Description ProcessApplicationEventListenerDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotify(DelegateExecution execution)voidnotify(DelegateTask delegateTask)protected voidnotifyExecutionListener(DelegateExecution execution)protected voidnotifyTaskListener(DelegateTask task)protected voidperformNotification(DelegateExecution execution, Callable<Void> notification)
-
-
-
Method Detail
-
notify
public void notify(DelegateExecution execution) throws Exception
- Specified by:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- Throws:
Exception
-
notify
public void notify(DelegateTask delegateTask)
- Specified by:
notifyin interfaceTaskListener
-
performNotification
protected void performNotification(DelegateExecution execution, Callable<Void> notification) throws Exception
- Throws:
Exception
-
notifyExecutionListener
protected void notifyExecutionListener(DelegateExecution execution) throws Exception
- Throws:
Exception
-
notifyTaskListener
protected void notifyTaskListener(DelegateTask task) throws Exception
- Throws:
Exception
-
-