java.lang.Object
org.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) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
FACES_INIT_DONE
static final java.lang.String FACES_INIT_DONE
StartupServletContextListener
public StartupServletContextListener()
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