public class ModuleLifecycleContextImpl extends Object implements ModuleLifecycleContext
PHASE_MODULE_RESTART, PHASE_SYSTEM_SHUTDOWN, PHASE_SYSTEM_STARTUP
Constructor and Description |
---|
ModuleLifecycleContextImpl() |
Modifier and Type | Method and Description |
---|---|
ModuleDefinition |
getCurrentModuleDefinition()
Gets the current module definition.
|
int |
getPhase()
Returns the phase the lifecycle is in.
|
void |
setCurrentModuleDefinition(ModuleDefinition currentModuleDefinition) |
void |
setPhase(int phase) |
public ModuleDefinition getCurrentModuleDefinition()
ModuleLifecycleContext
getCurrentModuleDefinition
in interface ModuleLifecycleContext
public void setCurrentModuleDefinition(ModuleDefinition currentModuleDefinition)
public int getPhase()
ModuleLifecycleContext
getPhase
in interface ModuleLifecycleContext
public void setPhase(int phase)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.