Package org.opoo.press

Examples of org.opoo.press.Plugin


   
    @SuppressWarnings("unchecked")
    List<String> pluginClassNames = (List<String>) config.get("plugins");
    if(pluginClassNames != null && !pluginClassNames.isEmpty()){
      for(String className: pluginClassNames){
        Plugin p = (Plugin) ClassUtils.newInstance(className);
        log.debug("Initializing plugin: {}", p.getClass().getName());
        p.initialize(registry);
      }
    }
   
    //Construct RendererImpl after initializing all plugins
    this.renderer = new RendererImpl(this, registry.getTemplateLoaders());
View Full Code Here

TOP

Related Classes of org.opoo.press.Plugin

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.