Interface ComponentManager.Listener

All Known Implementing Classes:
BulkComponent.ComponentListener, RuntimeMessageHandlerImpl, StreamServiceImpl.ComponentsLifeCycleListener
Enclosing interface:
ComponentManager

public static interface ComponentManager.Listener
Listener interface for component manager events
Since:
9.2
Author:
bogdan
  • Method Details

    • beforeActivation

      default void beforeActivation(ComponentManager mgr)
      Called just before activating components. This is fired when entering ComponentManager.start()
    • afterActivation

      default void afterActivation(ComponentManager mgr)
      Called just after all the components were activated.
    • beforeDeactivation

      default void beforeDeactivation(ComponentManager mgr)
      Called just before activating components.
    • afterDeactivation

      default void afterDeactivation(ComponentManager mgr)
      Called just after all the components were deactivated. This is fired just before exiting from ComponentManager.stop().
    • beforeStart

      default void beforeStart(ComponentManager mgr, boolean isResume)
      Called just before starting components.
      Parameters:
      isResume - true if the event was initiated by a ComponentManager.resume() call, false otherwise.
    • afterStart

      default void afterStart(ComponentManager mgr, boolean isResume)
      Called just after all components were started
      Parameters:
      isResume - true if the event was initiated by a ComponentManager.resume() call, false otherwise.
    • beforeStop

      default void beforeStop(ComponentManager mgr, boolean isStandby)
      Called just before stopping components.
      Parameters:
      isStandby - true if the event was initiated by a ComponentManager.standby() call, false otherwise
    • afterStop

      default void afterStop(ComponentManager mgr, boolean isStandby)
      Called just after the components were stopped.
      Parameters:
      isStandby - true if the event was initiated by a ComponentManager.standby() call, false otherwise
    • install

      default ComponentManager.Listener install()
    • uninstall

      default ComponentManager.Listener uninstall()