org.exoplatform.services.portletcontainer.test.listeners
Class AppListener

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.test.listeners.AppListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

Servlet context listener class is intended to catch context initialization and to set up StandaloneContainer.


Constructor Summary
AppListener()
           
 
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
 

Constructor Detail

AppListener

public AppListener()
Method Detail

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 © 2010 eXo Platform SAS. All Rights Reserved.