Class ExecutionListenerNotifier
- java.lang.Object
-
- de.bmiag.tapir.execution.executor.ExecutionListenerNotifier
-
@Component("tapirExecutionListenerNotifier") public class ExecutionListenerNotifier extends java.lang.Object
TheExecutionListenerNotifier
notifies all registeredexecution listeners
about event which occur during the execution of the execution plan.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description ExecutionListenerNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyListeners(java.util.function.Consumer<ExecutionListener> executionListenerConsumer)
Notifies each registeredExecutionListener
of the given event
The implementation is aware of exceptions thrown by the listeners and continues notification.
-
-
-
Method Detail
-
notifyListeners
public void notifyListeners(java.util.function.Consumer<ExecutionListener> executionListenerConsumer)
Notifies each registeredExecutionListener
of the given event
The implementation is aware of exceptions thrown by the listeners and continues notification.- Parameters:
executionListenerConsumer
- The code which should be executed on notification- Since:
- 2.0.0
-
-