Search in sources :

Example 1 with CoreBean

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());
}
Also used : SearchManagerBean(org.apache.wiki.ui.admin.beans.SearchManagerBean) UserBean(org.apache.wiki.ui.admin.beans.UserBean) CoreBean(org.apache.wiki.ui.admin.beans.CoreBean) NotCompliantMBeanException(javax.management.NotCompliantMBeanException) PluginBean(org.apache.wiki.ui.admin.beans.PluginBean) FilterBean(org.apache.wiki.ui.admin.beans.FilterBean)

Aggregations

NotCompliantMBeanException (javax.management.NotCompliantMBeanException)1 CoreBean (org.apache.wiki.ui.admin.beans.CoreBean)1 FilterBean (org.apache.wiki.ui.admin.beans.FilterBean)1 PluginBean (org.apache.wiki.ui.admin.beans.PluginBean)1 SearchManagerBean (org.apache.wiki.ui.admin.beans.SearchManagerBean)1 UserBean (org.apache.wiki.ui.admin.beans.UserBean)1