org.camunda.bpm.application.impl.event
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:
ProcessApplicationInterface.getExecutionListener(),
ProcessApplicationInterface.getTaskListener()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessApplicationEventListenerDelegate
public ProcessApplicationEventListenerDelegate()
notify
public void notify(DelegateExecution execution)
throws Exception
- Specified by:
notify in interface DelegateListener<DelegateExecution>- Specified by:
notify in interface ExecutionListener
- Throws:
Exception
notify
public void notify(DelegateTask delegateTask)
- Specified by:
notify in interface TaskListener
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
Copyright © 2015 camunda services GmbH. All rights reserved.