org.apache.shale.dialog.scxml
Class SCXMLLifecycleListener

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

public class SCXMLLifecycleListener
extends Object
implements ServletContextListener

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

$Id: SCXMLLifecycleListener.java 476713 2006-11-19 05:10:57Z rahul $

Since:
1.0.4

Constructor Summary
SCXMLLifecycleListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
          Process the application shutdown event, cleanup resources.
 void contextInitialized(ServletContextEvent event)
          Process the application startup event, parse dialog configurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCXMLLifecycleListener

public SCXMLLifecycleListener()
Method Detail

contextDestroyed

public void contextDestroyed(ServletContextEvent event)

Process the application shutdown event, cleanup resources.

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

contextInitialized

public void contextInitialized(ServletContextEvent event)

Process the application startup event, parse dialog configurations.

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


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