- All Known Subinterfaces:
FacesConfigResourceProvider
- All Known Implementing Classes:
BaseWebConfigResourceProvider,MetaInfFaceletTaglibraryConfigProvider,MetaInfFacesConfigResourceProvider,WebAppFlowConfigResourceProvider,WebFaceletTaglibResourceProvider,WebFacesConfigResourceProvider
public interface ConfigurationResourceProvider
Classes that implement this interface return zero or more URLs which refer to application configuration
resources.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetResources(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 Details
-
getResources
- Parameters:
context- theServletContextfor this application- Returns:
- a List zero or more
URLinstances representing application configuration resources
-
validateXml
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
-