use of org.apache.wiki.ui.admin.beans.SearchManagerBean in project jspwiki by apache.
the class DefaultAdminBeanManager method reload.
// FIXME: Should unload the beans first.
private void reload() {
m_allBeans = new ArrayList<>();
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 (final NotCompliantMBeanException e) {
log.error(e.getMessage(), e);
}
for (final ModuleManager moduleManager : m_engine.getManagers(ModuleManager.class)) {
registerBeans(moduleManager.modules());
}
}
Aggregations