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.
|
static final int PHASE_SYSTEM_STARTUP
static final int PHASE_MODULE_RESTART
static final int PHASE_SYSTEM_SHUTDOWN
ModuleDefinition getCurrentModuleDefinition()
int getPhase()
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.