Package com.hetty.plugin

Examples of com.hetty.plugin.IPlugin.start()


    List<Class<?>> pluginList = hettyConfig.getPluginClassList();
    try {
      for (Class<?> cls : pluginList) {
        IPlugin p;
        p = (IPlugin) cls.newInstance();
        p.start();
      }
    } catch (InstantiationException e) {
      logger.error("init plugin failed.");
      e.printStackTrace();
    } catch (IllegalAccessException e) {
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.