Package org.nuxeo.runtime.model
Interface ComponentManager.Listener
-
- All Known Implementing Classes:
BulkComponent.ComponentListener,RuntimeMessageHandlerImpl,StreamServiceImpl.ComponentsLifeCycleListener
- Enclosing interface:
- ComponentManager
public static interface ComponentManager.ListenerListener interface for component manager events- Since:
- 9.2
- Author:
- bogdan
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafterActivation(ComponentManager mgr)Called just after all the components were activated.default voidafterDeactivation(ComponentManager mgr)Called just after all the components were deactivated.default voidafterStart(ComponentManager mgr, boolean isResume)Called just after all components were starteddefault voidafterStop(ComponentManager mgr, boolean isStandby)Called just after the components were stopped.default voidbeforeActivation(ComponentManager mgr)Called just before activating components.default voidbeforeDeactivation(ComponentManager mgr)Called just before activating components.default voidbeforeStart(ComponentManager mgr, boolean isResume)Called just before starting components.default voidbeforeStop(ComponentManager mgr, boolean isStandby)Called just before stopping components.default ComponentManager.Listenerinstall()default ComponentManager.Listeneruninstall()
-
-
-
Method Detail
-
beforeActivation
default void beforeActivation(ComponentManager mgr)
Called just before activating components. This is fired when enteringComponentManager.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 fromComponentManager.stop().
-
beforeStart
default void beforeStart(ComponentManager mgr, boolean isResume)
Called just before starting components.- Parameters:
isResume- true if the event was initiated by aComponentManager.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 aComponentManager.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 aComponentManager.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 aComponentManager.standby()call, false otherwise
-
install
default ComponentManager.Listener install()
-
uninstall
default ComponentManager.Listener uninstall()
-
-