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
ExecutionListener
and TaskListener
implementation delegating to
the ExecutionListener
and TaskListener
provided by a
ProcessApplication
.
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:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notify
(DelegateExecution execution) void
notify
(DelegateTask delegateTask) protected void
notifyExecutionListener
(DelegateExecution execution) protected void
protected void
performNotification
(DelegateExecution execution, Callable<Void> notification)
-
Constructor Details
-
ProcessApplicationEventListenerDelegate
public ProcessApplicationEventListenerDelegate()
-
-
Method Details
-
notify
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
Exception
-
notify
- Specified by:
notify
in interfaceTaskListener
-
performNotification
protected void performNotification(DelegateExecution execution, Callable<Void> notification) throws Exception - Throws:
Exception
-
notifyExecutionListener
- Throws:
Exception
-
notifyTaskListener
- Throws:
Exception
-