Class ModuleManager

java.lang.Object
org.cristalise.kernel.process.module.ModuleManager

public class ModuleManager extends Object
  • Constructor Details

  • Method Details

    • loadModules

      public Properties loadModules(Enumeration<URL> urlOfModules) throws ModuleException
      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

      public void setUser(AgentProxy agent)
    • getModuleVersions

      public String getModuleVersions()
      Returns the concatenated list of module names and versions separated by ;
      Returns:
      the concatenated list of module names and versions separated by ;
    • runScripts

      public void runScripts(String event)
      Runs the script defined for the event for all the Modules
      Parameters:
      event - the name of the bootrtrap event
    • registerModules

      public void registerModules() throws ModuleException
      Throws:
      ModuleException
    • dumpModules

      public void dumpModules()