jpl.mipl.mdms.FileService.komodo.services.aa.server
Class AAServiceLifeCycleListener
java.lang.Object
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
|
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 |
AAServiceLifeCycleListener
public AAServiceLifeCycleListener()
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