com.atlassian.config.bootstrap
Class BootstrappedContextLoaderListener

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

public class BootstrappedContextLoaderListener
extends com.atlassian.spring.container.ContainerContextLoaderListener
implements javax.servlet.ServletContextListener

If bootstrapping has been successful, and the application is fully configured, bring up the full Spring application context including Hibernate.


Constructor Summary
BootstrappedContextLoaderListener()
           
 
Method Summary
 boolean canInitialiseContainer()
           
 org.springframework.web.context.ContextLoader createContextLoader()
          Make sure the bootstrap context is loaded as this app's parent context
protected  com.atlassian.spring.container.SpringContainerContext getNewSpringContainerContext()
           
 
Methods inherited from class com.atlassian.spring.container.ContainerContextLoaderListener
contextInitialized, postInitialiseContext
 
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

BootstrappedContextLoaderListener

public BootstrappedContextLoaderListener()
Method Detail

canInitialiseContainer

public boolean canInitialiseContainer()
Overrides:
canInitialiseContainer in class com.atlassian.spring.container.ContainerContextLoaderListener

getNewSpringContainerContext

protected com.atlassian.spring.container.SpringContainerContext getNewSpringContainerContext()
Overrides:
getNewSpringContainerContext in class com.atlassian.spring.container.ContainerContextLoaderListener

createContextLoader

public org.springframework.web.context.ContextLoader createContextLoader()
Make sure the bootstrap context is loaded as this app's parent context

Overrides:
createContextLoader in class org.springframework.web.context.ContextLoaderListener


Copyright © 2006-2009 Atlassian Pty Ltd. All Rights Reserved.