public interface ModuleLifecycleContext
Modifier and Type | Field and Description |
---|---|
static int |
PHASE_MODULE_RESTART
A module is restarted.
|
static int |
PHASE_SYSTEM_SHUTDOWN
The system is shutting down.
|
static int |
PHASE_SYSTEM_STARTUP
System is starting up.
|
Modifier and Type | Method and Description |
---|---|
ModuleDefinition |
getCurrentModuleDefinition()
Gets the current module definition.
|
int |
getPhase()
Returns the phase the lifecycle is in.
|
void |
registerModuleObservingComponent(String nodeName,
ObservedManager component)
Registers a component which will observe other modules' config node with
the given nodeName.
|
static final int PHASE_SYSTEM_STARTUP
static final int PHASE_MODULE_RESTART
static final int PHASE_SYSTEM_SHUTDOWN
ModuleDefinition getCurrentModuleDefinition()
int getPhase()
void registerModuleObservingComponent(String nodeName, ObservedManager component)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.