Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.myfaces.webapp
Class StartupServletContextListener  view StartupServletContextListener download StartupServletContextListener.java

java.lang.Object
  extended byorg.apache.myfaces.webapp.StartupServletContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

TODO: Add listener to myfaces-core.tld instead of web.xml

Version:
$Revision: 169655 $ $Date: 2005-05-11 12:45:06 -0400 (Wed, 11 May 2005) $

Field Summary
(package private) static java.lang.String FACES_INIT_DONE
           
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
StartupServletContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent e)
          Notification that the servlet context is about to be shut down.
 void contextInitialized(javax.servlet.ServletContextEvent event)
          Notification that the web application initialization process is starting.
static void initFaces(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

FACES_INIT_DONE

static final java.lang.String FACES_INIT_DONE
Constructor Detail

StartupServletContextListener

public StartupServletContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Description copied from interface: javax.servlet.ServletContextListener
Notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filter or servlet in the web application is initialized.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

initFaces

public static void initFaces(javax.servlet.ServletContext servletContext)

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent e)
Description copied from interface: javax.servlet.ServletContextListener
Notification that the servlet context is about to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of context destruction.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener