public interface FacesConfigResourceProvider extends ConfigurationResourceProvider
Classes that implement this interface return zero or more
URL
s which refer to application configuration resources (i.e.
documents conforming the faces-config DTD or Schema).
Implementations of this interface are made known to the runtime using service discovery.
For example:
META-INF/services/com.sun.faces.spi.FacesConfigResourceProvider
The file, com.sun.faces.spi.FacesConfigResourceProvider
,
contains a single line which represents the fully qualified class name
of the concrete FacesConfigResourceProvider
.
The FacesConfigResourceProvider
instances that are found
will be inserted into a List of existing ConfigurationResourceProviders
after those that process faces-config.xml
files in META-INF
but before those that process faces-config.xml
files in the
web application. If the documents returned by this ConfigurationResourceProvider
instance require specific ordering semantics, then use the partial or absolute ordering
feature provided by the JavaServer Faces 2.0 specification.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICES_KEY |
getResources, validateXml
static final String SERVICES_KEY
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.