Save This Page
Home » spring-framework-2.5.6-with-dependencies » org.springframework » web » context » [javadoc | source]
org.springframework.web.context
public class: ContextLoaderListener [javadoc | source]
java.lang.Object
   org.springframework.web.context.ContextLoaderListener

All Implemented Interfaces:
    ServletContextListener

Bootstrap listener to start up Spring's root WebApplicationContext . Simply delegates to ContextLoader .

This listener should be registered after org.springframework.web.util.Log4jConfigListener in web.xml, if the latter is used.

Method from org.springframework.web.context.ContextLoaderListener Summary:
contextDestroyed,   contextInitialized,   createContextLoader,   getContextLoader
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.web.context.ContextLoaderListener Detail:
 public  void contextDestroyed(ServletContextEvent event) 
    Close the root web application context.
 public  void contextInitialized(ServletContextEvent event) 
    Initialize the root web application context.
 protected ContextLoader createContextLoader() 
    Create the ContextLoader to use. Can be overridden in subclasses.
 public ContextLoader getContextLoader() 
    Return the ContextLoader used by this listener.