org.apache.shale.dialog.basic
Class BasicLifecycleListener

java.lang.Object
  extended by org.apache.shale.dialog.basic.BasicLifecycleListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class BasicLifecycleListener
extends Object
implements ServletContextListener

ServletContextListener that loads dialog configuration resources at application startup, and cleans up the libraries we depend on at application shutdown.

Since:
1.0.4

Constructor Summary
BasicLifecycleListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
          Process an application shutdown event.
 void contextInitialized(ServletContextEvent event)
          Process an application startup event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicLifecycleListener

public BasicLifecycleListener()
Method Detail

contextDestroyed

public void contextDestroyed(ServletContextEvent event)

Process an application shutdown event.

Specified by:
contextDestroyed in interface ServletContextListener
Parameters:
event - Shutdown event to be processed

contextInitialized

public void contextInitialized(ServletContextEvent event)

Process an application startup event.

Specified by:
contextInitialized in interface ServletContextListener
Parameters:
event - Startup event to be processed


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.