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

    Constructors
    Constructor
    Description
     
    SpringContextLoaderListener(org.springframework.web.context.WebApplicationContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contextInitialized(jakarta.servlet.ServletContextEvent event)
     
    protected org.springframework.web.context.ContextLoader
    Deprecated.
    protected void
    customizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.web.context.ConfigurableWebApplicationContext configurableWebApplicationContext)
     

    Methods inherited from class org.springframework.web.context.ContextLoaderListener

    contextDestroyed

    Methods inherited from class org.springframework.web.context.ContextLoader

    closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext, setContextInitializers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      contextInitialized in interface jakarta.servlet.ServletContextListener
      Overrides:
      contextInitialized in class org.springframework.web.context.ContextLoaderListener
    • createContextLoader

      @Deprecated protected org.springframework.web.context.ContextLoader createContextLoader()
      Deprecated.
    • customizeContext

      protected void customizeContext(jakarta.servlet.ServletContext servletContext, org.springframework.web.context.ConfigurableWebApplicationContext configurableWebApplicationContext)
      Overrides:
      customizeContext in class org.springframework.web.context.ContextLoader