Class SpringContextLoaderListener

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void contextInitialized​(javax.servlet.ServletContextEvent event)  
      protected org.springframework.web.context.ContextLoader createContextLoader()
      Deprecated.
      protected void customizeContext​(javax.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
    • Constructor Detail

      • SpringContextLoaderListener

        public SpringContextLoaderListener()
      • SpringContextLoaderListener

        public SpringContextLoaderListener​(org.springframework.web.context.WebApplicationContext context)
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent event)
        Specified by:
        contextInitialized in interface javax.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​(javax.servlet.ServletContext servletContext,
                                        org.springframework.web.context.ConfigurableWebApplicationContext configurableWebApplicationContext)
        Overrides:
        customizeContext in class org.springframework.web.context.ContextLoader