com.atlassian.bamboo.ww2.actions.setup
Class BambooContextLoaderListener

java.lang.Object
  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.bamboo.ww2.actions.setup.BambooContextLoaderListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

Spring context loader with custom bamboo configurarations


Constructor Summary
BambooContextLoaderListener()
           
 
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 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

BambooContextLoaderListener

public BambooContextLoaderListener()
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 © 2010 Atlassian. All Rights Reserved.