Class ExecutionListenerNotifier


  • @Component("tapirExecutionListenerNotifier")
    public class ExecutionListenerNotifier
    extends java.lang.Object
    The ExecutionListenerNotifier notifies all registered execution listeners about event which occur during the execution of the execution plan.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void notifyListeners​(java.util.function.Consumer<ExecutionListener> executionListenerConsumer)
      Notifies each registered ExecutionListener of the given event

      The implementation is aware of exceptions thrown by the listeners and continues notification.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecutionListenerNotifier

        public ExecutionListenerNotifier()
    • Method Detail

      • notifyListeners

        public void notifyListeners​(java.util.function.Consumer<ExecutionListener> executionListenerConsumer)
        Notifies each registered ExecutionListener 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