jpl.mipl.mdms.FileService.komodo.services.aa.server
Class AAServiceLifeCycleListener

java.lang.Object
  extended by jpl.mipl.mdms.FileService.komodo.services.aa.server.AAServiceLifeCycleListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class AAServiceLifeCycleListener
extends Object
implements javax.servlet.ServletContextListener


Constructor Summary
AAServiceLifeCycleListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent arg0)
          Closes all the channels when the service is undeployed.
 void contextInitialized(javax.servlet.ServletContextEvent sce)
          This method is called when the service is deployed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AAServiceLifeCycleListener

public AAServiceLifeCycleListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
This method is called when the service is deployed. Initialize the channel manager.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent arg0)
Closes all the channels when the service is undeployed.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener