|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleManager
ModuleManager is responsible for the lifecycle of modules. (loads definitions, install/update/uninstall, start/stop)
Nested Class Summary | |
---|---|
static class |
ModuleManager.Factory
Use this to retrieve the configured singleton impl of ModuleManager. |
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. |
Method Summary | |
---|---|
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()
|
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |