com.atlassian.crowd.console.listener
Class CrowdContextLoaderListener

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by org.springframework.web.context.ContextLoaderListener
          extended by com.atlassian.spring.container.ContainerContextLoaderListener
              extended by com.atlassian.config.bootstrap.BootstrappedContextLoaderListener
                  extended by com.atlassian.crowd.console.listener.CrowdContextLoaderListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class CrowdContextLoaderListener
extends com.atlassian.config.bootstrap.BootstrappedContextLoaderListener

Spring context loader with custom crowd configurarations


Field Summary
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
CrowdContextLoaderListener()
           
 
Method Summary
protected  void postInitialiseContext(javax.servlet.ServletContextEvent event)
          On context initialisation, change the ObjectFactory to the WebWorkSpringObjectFactory one.
 
Methods inherited from class com.atlassian.config.bootstrap.BootstrappedContextLoaderListener
canInitialiseContainer, createContextLoader, getNewSpringContainerContext
 
Methods inherited from class com.atlassian.spring.container.ContainerContextLoaderListener
contextInitialized
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyed, getContextLoader
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletContextListener
contextDestroyed, contextInitialized
 

Constructor Detail

CrowdContextLoaderListener

public CrowdContextLoaderListener()
Method Detail

postInitialiseContext

protected void postInitialiseContext(javax.servlet.ServletContextEvent event)
On context initialisation, change the ObjectFactory to the WebWorkSpringObjectFactory one. This can only be done after the spring bootstrapping has succeeded (since spring hasn't been setup)

Overrides:
postInitialiseContext in class com.atlassian.spring.container.ContainerContextLoaderListener
Parameters:
event -


Copyright © 2013 Atlassian. All Rights Reserved.