public class MetaInfFacesConfigResourceProvider extends java.lang.Object implements ConfigurationResourceProvider
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
FACES_CONFIG_EXTENSION |
private static java.util.regex.Pattern |
JAR_PATTERN
This
Pattern will pick the the JAR file name if present
within a URL. |
private static java.lang.String |
META_INF_RESOURCES
The resource path for faces-config files included in the
META-INF directory of JAR files. |
private static java.lang.String |
WEB_INF_CLASSES |
Constructor and Description |
---|
MetaInfFacesConfigResourceProvider() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.net.URI> |
getResources(javax.servlet.ServletContext context) |
private java.util.Collection<java.net.URI> |
loadURLs(javax.servlet.ServletContext context) |
private static final java.util.regex.Pattern JAR_PATTERN
This Pattern
will pick the the JAR file name if present
within a URL.
private static final java.lang.String META_INF_RESOURCES
The resource path for faces-config files included in the
META-INF
directory of JAR files.
private static final java.lang.String WEB_INF_CLASSES
private static final java.lang.String FACES_CONFIG_EXTENSION
public java.util.Collection<java.net.URI> getResources(javax.servlet.ServletContext context)
getResources
in interface ConfigurationResourceProvider
context
- the ServletContext
for this applicationURL
instances representing
application configuration resourcesConfigurationResourceProvider.getResources(javax.servlet.ServletContext)
private java.util.Collection<java.net.URI> loadURLs(javax.servlet.ServletContext context) throws java.io.IOException
java.io.IOException
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.