Examples of deployExtension()


Examples of org.olat.core.extensions.ExtensionManager.deployExtension()

        portlets.put(portlet.getName(), portlet);
        Tracing.logInfo("Adding portlet from configuraton:: " + portlet.getName(), PortletFactory.class);
       
        if (portlet instanceof OLATExtension) {
          try {
            extMgr.deployExtension((OLATExtension)portlet);
          } catch (IOException ioe) {
            throw new StartupException("Error deploying bean '" + portlet + "'.", ioe);
          }
        }
      }
View Full Code Here

Examples of org.olat.core.extensions.ExtensionManager.deployExtension()

        portals.put(portal.getName(), portal);
        Tracing.logInfo("Adding portal from configuraton:: " + portal.getName(), PortalFactory.class);

        if (portal instanceof OLATExtension) {
          try {
            extMgr.deployExtension((OLATExtension)portal);
          } catch (IOException ioe) {
            throw new StartupException("Error deploying bean '" + portal + "'.", ioe);
          }
        }
      }
View Full Code Here

Examples of org.olat.core.extensions.ExtensionManager.deployExtension()

        CourseNodeConfiguration cnConfig = iter.next();
        courseNodeConfigurationsAliases.add(cnConfig.getAlias());
        courseNodeConfigurations.put(cnConfig.getAlias(), cnConfig);
        log.info("Added building block '" + cnConfig.getAlias() + "', class '" + cnConfig.getClass().getName() + "'.");
        if (cnConfig instanceof OLATExtension) try {
          extMgr.deployExtension((OLATExtension) cnConfig);
        } catch (IOException ioe) {
          throw new StartupException("Error deploying bean '" + cnConfig + "'.",ioe);
        }
      } catch (ClassCastException cce) {
        // log message because static initializers will throw
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.