org.apache.myfaces.spi
Class WebConfigProvider
java.lang.Object
org.apache.myfaces.spi.WebConfigProvider
- Direct Known Subclasses:
- DefaultWebConfigProvider
public abstract class WebConfigProvider
- extends Object
SPI to provide a custom WebConfigProvider implementation.
- Since:
- 2.0.3
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebConfigProvider
public WebConfigProvider()
getFacesServletMappings
public abstract List<ServletMapping> getFacesServletMappings(ExternalContext externalContext)
- Return the mappings configured on web.xml related to JSF FacesServlet.
By default, the algorithm contemplate these three options:
- Mappings related to registered servlet class javax.faces.webapp.FacesServlet.
- Mappings related to registered servlet class implementing
org.apache.myfaces.shared.webapp.webxml.DelegatedFacesServlet interface.
- Mappings related to registered servlet class registered
using org.apache.myfaces.DELEGATE_FACES_SERVLET web config param.
- Parameters:
externalContext
-
- Returns:
isErrorPagePresent
public abstract boolean isErrorPagePresent(ExternalContext externalContext)
- Indicate if an error page is configured on web.xml file
- Parameters:
externalContext
-
- Returns:
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.