com.interface21.web.context
Class ContextLoaderListener

java.lang.Object
  |
  +--com.interface21.web.context.ContextLoaderListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class ContextLoaderListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

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

Note: This listener should be registered after Log4jConfigListener, if the latter is used.

Since:
17.02.2003
Author:
Juergen Hoeller
See Also:
Log4jConfigListener

Constructor Summary
ContextLoaderListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextLoaderListener

public ContextLoaderListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Rod Johnson and Spring contributors 2001-2003.