Class BambooContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
com.atlassian.spring.container.ContainerContextLoaderListener
com.atlassian.config.internal.bootstrap.BootstrappedContextLoaderListener
com.atlassian.bamboo.ww2.actions.setup.BambooContextLoaderListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
public class BambooContextLoaderListener
extends com.atlassian.config.internal.bootstrap.BootstrappedContextLoaderListener
Spring context loader with custom bamboo configurations
-
Field Summary
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, GLOBAL_INITIALIZER_CLASSES_PARAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationContextloadParentContext(jakarta.servlet.ServletContext servletContext) protected voidpostInitialiseContext(jakarta.servlet.ServletContextEvent event) Methods inherited from class com.atlassian.config.internal.bootstrap.BootstrappedContextLoaderListener
canInitialiseContainer, getNewSpringContainerContextMethods inherited from class com.atlassian.spring.container.ContainerContextLoaderListener
contextInitializedMethods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyedMethods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, setContextInitializersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletContextListener
contextDestroyed, contextInitialized
-
Constructor Details
-
BambooContextLoaderListener
public BambooContextLoaderListener()
-
-
Method Details
-
postInitialiseContext
protected void postInitialiseContext(jakarta.servlet.ServletContextEvent event) - Overrides:
postInitialiseContextin classcom.atlassian.spring.container.ContainerContextLoaderListener
-
loadParentContext
protected org.springframework.context.ApplicationContext loadParentContext(jakarta.servlet.ServletContext servletContext) throws org.springframework.beans.BeansException - Overrides:
loadParentContextin classcom.atlassian.config.internal.bootstrap.BootstrappedContextLoaderListener- Throws:
org.springframework.beans.BeansException
-