use of org.apache.wiki.ui.admin.beans.CoreBean in project jspwiki by apache.
the class DefaultAdminBeanManager method reload.
// FIXME: Should unload the beans first.
private void reload() {
m_allBeans = new ArrayList<AdminBean>();
try {
registerAdminBean(new CoreBean(m_engine));
registerAdminBean(new UserBean(m_engine));
registerAdminBean(new SearchManagerBean(m_engine));
registerAdminBean(new PluginBean(m_engine));
registerAdminBean(new FilterBean(m_engine));
} catch (NotCompliantMBeanException e) {
log.error(e.getMessage(), e);
}
registerBeans(m_engine.getEditorManager().modules());
registerBeans(m_engine.getPluginManager().modules());
registerBeans(m_engine.getFilterManager().modules());
}
Aggregations