Package com.atlassian.confluence.setup
Class ConfluenceBootstrappedContextLoaderListener
- java.lang.Object
-
- org.springframework.web.context.ContextLoader
-
- org.springframework.web.context.ContextLoaderListener
-
- com.atlassian.spring.container.ContainerContextLoaderListener
-
- com.atlassian.config.bootstrap.BootstrappedContextLoaderListener
-
- com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener
-
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class ConfluenceBootstrappedContextLoaderListener extends com.atlassian.config.bootstrap.BootstrappedContextLoaderListener
Adds (relatively) user friendly error handling if the main spring context cannot be initialized.
-
-
Constructor Summary
Constructors Constructor Description ConfluenceBootstrappedContextLoaderListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canInitialiseContainer()
void
contextInitialized(javax.servlet.ServletContextEvent event)
-
Methods inherited from class com.atlassian.config.bootstrap.BootstrappedContextLoaderListener
getNewSpringContainerContext, loadParentContext
-
Methods inherited from class com.atlassian.spring.container.ContainerContextLoaderListener
postInitialiseContext
-
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, setContextInitializers
-
-
-
-
Method Detail
-
canInitialiseContainer
public boolean canInitialiseContainer()
- Overrides:
canInitialiseContainer
in classcom.atlassian.config.bootstrap.BootstrappedContextLoaderListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
- Overrides:
contextInitialized
in classcom.atlassian.spring.container.ContainerContextLoaderListener
-
-