FilterManager must be instantiated before AdminBeanManager, as the latter now asks for the former
@@ -591,9 +591,6 @@ public class WikiEngine
m_templateManager = (TemplateManager)
ClassUtil.getMappedObject(TemplateManager.class.getName(), this, props );
- m_adminBeanManager = (AdminBeanManager)
- ClassUtil.getMappedObject(AdminBeanManager.class.getName(),this);
-
// Since we want to use a page filters initilize() method
// as a engine startup listener where we can initialize global event listeners,
// it must be called lastly, so that all object references in the engine
@@ -601,6 +598,9 @@ public class WikiEngine
m_filterManager = (FilterManager)
ClassUtil.getMappedObject(FilterManager.class.getName(), this, props );
+ m_adminBeanManager = (AdminBeanManager)
+ ClassUtil.getMappedObject(AdminBeanManager.class.getName(),this);
+
// RenderingManager depends on FilterManager events.
m_renderingManager.initialize( this, props );
