compbio.ws.server
Class ShutdownEngines

java.lang.Object
  extended by compbio.ws.server.ShutdownEngines
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ShutdownEngines
extends Object
implements javax.servlet.ServletContextListener

Switch off engines if JABAWS web application is undeployed, or web server is shutdown

Version:
1.0
Author:
Peter Troshin

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

Constructor Detail

ShutdownEngines

public ShutdownEngines()
Method Detail

contextDestroyed

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

contextInitialized

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