org.exoplatform.services.portletcontainer.test.listeners
Class AppListener
java.lang.Object
org.exoplatform.services.portletcontainer.test.listeners.AppListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class AppListener
- extends Object
- implements javax.servlet.ServletContextListener
Servlet context listener class is intended to catch context initialization and to set up
StandaloneContainer.
|
Method Summary |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
Does nothing. |
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
Creates stand-alone container when context have just been initialized. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppListener
public AppListener()
contextInitialized
public final void contextInitialized(javax.servlet.ServletContextEvent sce)
- Creates stand-alone container when context have just been initialized.
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
- Parameters:
sce - servlet context event
contextDestroyed
public final void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Does nothing. Just an empty interface implementation.
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
- Parameters:
sce - servlet context event
Copyright © 2009 eXo Platform SAS. All Rights Reserved.