org.omnifaces.facesviews
Class FacesViewsInitializerListener
java.lang.Object
org.omnifaces.eventlistener.DefaultServletContextListener
org.omnifaces.facesviews.FacesViewsInitializerListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
@WebListener
public class FacesViewsInitializerListener
- extends DefaultServletContextListener
Convenience class for Servlet 3.0 users, which will map the FacesServlet to extensions found
during scanning in FacesViewsInitializer
. This part of the initialization is executed
in a separate ServletContextListener, because the FacesServlet has to be available. This is
not guaranteed to be the case in an ServletContainerInitializer.
For a guide on FacesViews, please see the package summary.
- Author:
- Arjan Tijms
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesViewsInitializerListener
public FacesViewsInitializerListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent context)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
- Overrides:
contextInitialized
in class DefaultServletContextListener