org.apache.shale.validator.faces
Class ValidatorLifecycleListener

java.lang.Object
  extended by org.apache.shale.validator.faces.ValidatorLifecycleListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

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


Constructor Summary
ValidatorLifecycleListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
          Process an application shutdown event.
 void contextInitialized(javax.servlet.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

ValidatorLifecycleListener

public ValidatorLifecycleListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)

Process an application shutdown event.

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

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)

Process an application startup event.

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


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