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)
Deprecated.
since 5.5. Use
ModuleConfigurationObservingManager instead. |
static final int PHASE_SYSTEM_STARTUP
static final int PHASE_MODULE_RESTART
static final int PHASE_SYSTEM_SHUTDOWN
ModuleDefinition getCurrentModuleDefinition()
int getPhase()
@Deprecated void registerModuleObservingComponent(String nodeName, ObservedManager component)
ModuleConfigurationObservingManager
instead.Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.