for (int i=0; i<plugins.length; i++) {
if (log.isDebugEnabled()) log.debug("try " + plugins[i]);
try {
Class pluginClass = Class.forName(plugins[i]);
if (isPagePlugin(pluginClass)) {
WeblogEntryPlugin plugin = (WeblogEntryPlugin)pluginClass.newInstance();
mPagePlugins.put(plugin.getName(), pluginClass);
} else {
log.warn(pluginClass + " is not a PagePlugin");
}
} catch (ClassNotFoundException e) {
log.error("ClassNotFoundException for " + plugins[i]);