Package org.opoo.press

Examples of org.opoo.press.Plugin.initialize()


    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
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.