resetPlugin(plugin);
ClassLoader pluginClassLoader = getPluginClassLoaderFactory()
.getClassLoader(plugin.getName());
Class entryPointClass = pluginClassLoader
.loadClass(plugin.getEntryPointClass());
PluginEntryPoint entryPoint = (PluginEntryPoint)entryPointClass
.newInstance();
entryPoint.setBusiness(getBusiness());
entryPoint.setFrontService(getFrontService());
entryPoint.setBackService(getBackService());
entryPoint.init();
plugins.put(plugin.getName(), entryPoint);
pluginTimestamps.put(plugin.getName(), plugin);
getBusiness().getRewriteUrlBusiness().addRules(
entryPoint.getRewriteRules());
}
catch (ClassNotFoundException e) {
logger.error("Class not found " + e.getMessage());
}
catch (Exception e) {