public class ModuleManager extends Object
| Constructor and Description |
|---|
ModuleManager(boolean isServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpModules() |
String |
getModuleVersions()
Returns the concatenated list of module names and versions separated by ;
|
Properties |
loadModules(Enumeration<URL> urlOfModules)
Reads the module XMLs, the XMLs are unmarshalled and the complete list of properties defined
in those Modules is returned
|
void |
registerModules() |
void |
runScripts(String event)
Runs the script defined for the event for all the Modules
|
void |
setUser(AgentProxy agent) |
public ModuleManager(boolean isServer)
throws ModuleException
ModuleExceptionpublic Properties loadModules(Enumeration<URL> urlOfModules) throws ModuleException
urlOfModules - the list URL of Module XMLs found in the classpacthModuleExceptionpublic void setUser(AgentProxy agent)
public String getModuleVersions()
public void runScripts(String event)
event - the name of the bootrtrap eventpublic void registerModules()
throws ModuleException
ModuleExceptionpublic void dumpModules()
Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.