org.directwebremoting.servlet
Class EfficientShutdownServletContextListener

java.lang.Object
  extended by org.directwebremoting.servlet.EfficientShutdownServletContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

A ServletContextListener that can be used to call ServerLoadMonitor.shutdown() when the servlet container is stopped

Author:
Joe Walker [joe at getahead dot ltd dot uk]

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

Constructor Detail

EfficientShutdownServletContextListener

public EfficientShutdownServletContextListener()
Method Detail

contextInitialized

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

contextDestroyed

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

Copyright ? 2005