Package com.xebialabs.deployit.jetty
Class DeployitSpringContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
com.xebialabs.deployit.jetty.DeployitSpringContextLoaderListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
public class DeployitSpringContextLoaderListener
extends org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
-
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 TypeMethodDescriptionstatic voidvoidcontextInitialized(jakarta.servlet.ServletContextEvent event) static org.springframework.web.context.WebApplicationContextMethods inherited from class org.jboss.resteasy.plugins.spring.SpringContextLoaderListener
createContextLoader, customizeContextMethods 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
-
DeployitSpringContextLoaderListener
public DeployitSpringContextLoaderListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener- Overrides:
contextInitializedin classorg.jboss.resteasy.plugins.spring.SpringContextLoaderListener
-
checkCorrectlyInitialized
public static void checkCorrectlyInitialized() -
getWebApplicationContext
public static org.springframework.web.context.WebApplicationContext getWebApplicationContext()
-