org.apache.shale.validator.faces
Class ValidatorLifecycleListener

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

public class ValidatorLifecycleListener
extends Object
implements 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(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

ValidatorLifecycleListener

public ValidatorLifecycleListener()
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.