Class ModuleManager
java.lang.Object
org.cristalise.kernel.process.module.ModuleManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns the concatenated list of module names and versions separated by ;loadModules(Enumeration<URL> urlOfModules) Reads the module XMLs, the XMLs are unmarshalled and the complete list of properties defined in those Modules is returnedvoidvoidrunScripts(String event) Runs the script defined for the event for all the ModulesvoidsetUser(AgentProxy agent)
-
Constructor Details
-
ModuleManager
- Throws:
ModuleException
-
-
Method Details
-
loadModules
Reads the module XMLs, the XMLs are unmarshalled and the complete list of properties defined in those Modules is returned- Parameters:
urlOfModules- the list URL of Module XMLs found in the classpacth- Returns:
- the complete list of Properties defined in the Modules
- Throws:
ModuleException
-
setUser
-
getModuleVersions
Returns the concatenated list of module names and versions separated by ;- Returns:
- the concatenated list of module names and versions separated by ;
-
runScripts
Runs the script defined for the event for all the Modules- Parameters:
event- the name of the bootrtrap event
-
registerModules
- Throws:
ModuleException
-
dumpModules
public void dumpModules()
-