Package org.nuxeo.runtime.model
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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
afterActivation(ComponentManager mgr)
Called just after all the components were activated.default void
afterDeactivation(ComponentManager mgr)
Called just after all the components were deactivated.default void
afterStart(ComponentManager mgr, boolean isResume)
Called just after all components were starteddefault void
afterStop(ComponentManager mgr, boolean isStandby)
Called just after the components were stopped.default void
beforeActivation(ComponentManager mgr)
Called just before activating components.default void
beforeDeactivation(ComponentManager mgr)
Called just before activating components.default void
beforeStart(ComponentManager mgr, boolean isResume)
Called just before starting components.default void
beforeStop(ComponentManager mgr, boolean isStandby)
Called just before stopping components.default ComponentManager.Listener
install()
default ComponentManager.Listener
uninstall()
-
-
-
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()
-
-