Class SpringContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
public class SpringContextLoaderListener
extends org.springframework.web.context.ContextLoaderListener
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
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
ConstructorsConstructorDescriptionSpringContextLoaderListener(org.springframework.web.context.WebApplicationContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextInitialized(jakarta.servlet.ServletContextEvent event) protected org.springframework.web.context.ContextLoaderDeprecated.protected voidcustomizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.web.context.ConfigurableWebApplicationContext configurableWebApplicationContext) Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyedMethods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext, setContextInitializers
-
Constructor Details
-
SpringContextLoaderListener
public SpringContextLoaderListener() -
SpringContextLoaderListener
public SpringContextLoaderListener(org.springframework.web.context.WebApplicationContext context)
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener- Overrides:
contextInitializedin classorg.springframework.web.context.ContextLoaderListener
-
createContextLoader
Deprecated. -
customizeContext
protected void customizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.web.context.ConfigurableWebApplicationContext configurableWebApplicationContext) - Overrides:
customizeContextin classorg.springframework.web.context.ContextLoader
-