Interface ConfigurationResourceProvider

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 Type
    Method
    Description
    getResources(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

      Collection<URI> getResources(jakarta.servlet.ServletContext context)
      Parameters:
      context - the ServletContext for this application
      Returns:
      a List zero or more URL instances 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 getResources
      globalValidateXml - the global (application level) value of the validateXml parameter
      Returns:
      true if Mojarra should validate the given URI file, false if not