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