Class ContextLoaderListener

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

    public class ContextLoaderListener
    extends org.springframework.web.context.ContextLoaderListener
    A custom ContextLoaderListener that configures a Spring web application context via specified annotations.
    Author:
    Paul Ferraro
    • 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

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

        contextDestroyed, contextInitialized
      • Methods inherited from class org.springframework.web.context.ContextLoader

        closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext, setContextInitializers
    • Constructor Detail

      • ContextLoaderListener

        public ContextLoaderListener​(Class<?>... componentClasses)