Package com.sun.faces.spi
Interface ConfigurationResourceProvider
-
- All Known Subinterfaces:
FacesConfigResourceProvider
- All Known Implementing Classes:
BaseWebConfigResourceProvider,MetaInfFaceletTaglibraryConfigProvider,MetaInfFacesConfigResourceProvider,WebAppFlowConfigResourceProvider,WebFaceletTaglibResourceProvider,WebFacesConfigResourceProvider
public interface ConfigurationResourceProviderClasses that implement this interface return zero or more
URLs which refer to application configuration resources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<URI>getResources(jakarta.servlet.ServletContext context)default booleanvalidateXml(URI uri, boolean globalValidateXml)Parameter to force the XML validation of the Faces configuration files returned by getResources.
-
-
-
Method Detail
-
getResources
Collection<URI> getResources(jakarta.servlet.ServletContext context)
- Parameters:
context- theServletContextfor this application- Returns:
- a List zero or more
URLinstances representing application configuration resources
-
validateXml
default boolean validateXml(URI uri, boolean globalValidateXml)
Parameter to force the XML validation of the Faces configuration files returned by getResources.- Parameters:
uri- the URI for which Mojarra asks if validation is needed. Should always be one as returned by getResourcesglobalValidateXml- the global (application level) value of the validateXml parameter- Returns:
- true if Mojarra should validate the given URI file, false if not
-
-