Package org.apache.myfaces.webapp
Class StartupServletContextListener
- java.lang.Object
- 
- org.apache.myfaces.webapp.StartupServletContextListener
 
- 
- All Implemented Interfaces:
- jakarta.servlet.ServletContextListener,- EventListener
 
 public class StartupServletContextListener extends Object implements jakarta.servlet.ServletContextListener Initialise the MyFaces system.This context listener is registered by the JSP TLD file for the standard Faces "f" components. Normally, servlet containers will automatically load and process .tld files at startup time, and therefore register and run this class automatically. Some very old servlet containers do not do this correctly, so in those cases this listener may be registered manually in web.xml. Registering it twice (ie in both .tld and web.xml) will result in a harmless warning message being generated. Very old versions of MyFaces Core do not register the listener in the .tld file, so those also need a manual entry in web.xml. However all versions since at least 1.1.2 have this entry in the tld. - Version:
- $Revision$ $Date$
- Author:
- Manfred Geiler (latest modification by $Author$)
 
- 
- 
Constructor SummaryConstructors Constructor Description StartupServletContextListener()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(jakarta.servlet.ServletContextEvent event)voidcontextInitialized(jakarta.servlet.ServletContextEvent event)
 
- 
- 
- 
Method Detail- 
contextInitializedpublic void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
- contextInitializedin interface- jakarta.servlet.ServletContextListener
 
 - 
contextDestroyedpublic void contextDestroyed(jakarta.servlet.ServletContextEvent event) - Specified by:
- contextDestroyedin interface- jakarta.servlet.ServletContextListener
 
 
- 
 
-