public interface ModuleManager
Modifier and Type | Interface and Description |
---|---|
static class |
ModuleManager.Factory
Deprecated.
since 4.5, use IoC.
|
static class |
ModuleManager.ModuleAndDeltas
Represents what's to be done for each module.
|
static class |
ModuleManager.ModuleManagementState
Represent what's to be done for all modules.
|
Modifier and Type | Method and Description |
---|---|
void |
checkForInstallOrUpdates()
Checks if we need to do any module installation, update or uninstall.
|
InstallContext |
getInstallContext() |
ModuleManager.ModuleManagementState |
getStatus()
Returns the status as discovered by checkForInstallOrUpdates().
|
ModuleManagerUI |
getUI() |
List<ModuleDefinition> |
loadDefinitions()
Loads modules definitions, validates dependencies and sorts modules
by dependencies.
|
void |
performInstallOrUpdate() |
void |
startModules() |
void |
stopModules() |
List<ModuleDefinition> loadDefinitions() throws ModuleManagementException
ModuleManagementException
void checkForInstallOrUpdates() throws ModuleManagementException
ModuleManagementException
ModuleManager.ModuleManagementState getStatus()
IllegalStateException
- if checkForInstallOrUpdates was never called.ModuleManagerUI getUI()
void performInstallOrUpdate()
InstallContext getInstallContext()
void startModules()
void stopModules()
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.