- 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 URL
s which refer to application configuration
resources.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetResources
(jakarta.servlet.ServletContext context) default boolean
validateXml
(URI uri, boolean globalValidateXml) Parameter to force the XML validation of the Faces configuration files returned by getResources.
-
Method Details
-
getResources
- Parameters:
context
- theServletContext
for this application- Returns:
- a List zero or more
URL
instances 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
-