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
Modifier and TypeMethodDescriptiondefault void
Called just after all the components were activated.default void
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
Called just before activating components.default void
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
-
Method Details
-
beforeActivation
Called just before activating components. This is fired when enteringComponentManager.start()
-
afterActivation
Called just after all the components were activated. -
beforeDeactivation
Called just before activating components. -
afterDeactivation
Called just after all the components were deactivated. This is fired just before exiting fromComponentManager.stop()
. -
beforeStart
Called just before starting components.- Parameters:
isResume
- true if the event was initiated by aComponentManager.resume()
call, false otherwise.
-
afterStart
Called just after all components were started- Parameters:
isResume
- true if the event was initiated by aComponentManager.resume()
call, false otherwise.
-
beforeStop
Called just before stopping components.- Parameters:
isStandby
- true if the event was initiated by aComponentManager.standby()
call, false otherwise
-
afterStop
Called just after the components were stopped.- Parameters:
isStandby
- true if the event was initiated by aComponentManager.standby()
call, false otherwise
-
install
-
uninstall
-