Package org.olat.core.configuration

Examples of org.olat.core.configuration.ModuleConfig


      // ----- startup brasato -----
      ServiceFactory.init(servletContext);

      log.info("*** OLAT framework: starting all modules");
      // this is the first call to get the Spring beans, all beans are initialized after this point
      ModuleConfig mc = (ModuleConfig)CoreSpringFactory.getBean("org.olat.core.configuration.ModuleConfig");
      Map modules = mc.getModules();
      // init all registered OLATModules - olat::: we assume silently that the order is not important
      for (Iterator iter = modules.keySet().iterator(); iter.hasNext();) {
        moduleID = (String) iter.next();
        ModuleLifeCycle mlc = (ModuleLifeCycle)modules.get(moduleID);
        mlc.init(servletContext);
View Full Code Here


   */
  public void destroy() {
    log.info("*** Destroying OLAT servlet.");
   
    //send all modules the destroy signal
    ModuleConfig mc = (ModuleConfig)CoreSpringFactory.getBean("org.olat.core.configuration.ModuleConfig");
    Map modules = mc.getModules();
    for (Iterator iter = modules.keySet().iterator(); iter.hasNext();) {
      String moduleID = (String) iter.next();
      try {
        ModuleLifeCycle mlc = (ModuleLifeCycle)modules.get(moduleID);
        mlc.destroy();
View Full Code Here

TOP

Related Classes of org.olat.core.configuration.ModuleConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.