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 voidCalled just after all the components were activated.default voidCalled 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 voidCalled just before activating components.default voidCalled 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.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
-