private void initPlugins() {
logger.info("init plugins...........");
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) {