Top Fields Constructors Methods
com.sun.faces.config.configprovider

public Class MetaInfFacesConfigResourceProvider

extends Object
implements ConfigurationResourceProvider
Class Inheritance
All Implemented Interfaces
com.sun.faces.spi.ConfigurationResourceProvider
Imports
com.sun.faces.util.Util, com.sun.faces.config.WebConfiguration, com.sun.faces.facelets.util.Classpath, com.sun.faces.spi.ConfigurationResourceProvider, java.net.URISyntaxException, .URI, .URL, javax.faces.FacesException, javax.servlet.ServletContext, java.io.IOException, java.util.ArrayList, .Enumeration, .List, .Map, .SortedMap, .TreeMap, .Collection, .Set, .HashSet, java.util.regex.Pattern, .Matcher

Field Summary

Modifier and TypeField and Description
private static final String
private static final Pattern
JAR_PATTERN

This Pattern will pick the the JAR file name if present within a URL.

private static final String
META_INF_RESOURCES

The resource path for faces-config files included in the META-INF directory of JAR files.

private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Collection<URI>
getResources(ServletContext
the ServletContext for this application
context
)

Implements com.sun.faces.spi.ConfigurationResourceProvider.getResources.

private Collection<URI>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FACES_CONFIG_EXTENSIONback to summary
private static final String FACES_CONFIG_EXTENSION
JAR_PATTERNback to summary
private static final Pattern JAR_PATTERN

This Pattern will pick the the JAR file name if present within a URL.

META_INF_RESOURCESback to summary
private static final String META_INF_RESOURCES

The resource path for faces-config files included in the META-INF directory of JAR files.

WEB_INF_CLASSESback to summary
private static final String WEB_INF_CLASSES

Constructor Detail

MetaInfFacesConfigResourceProviderback to summary
public MetaInfFacesConfigResourceProvider()

Method Detail

getResourcesback to summary
public Collection<URI> getResources(ServletContext context)

Implements com.sun.faces.spi.ConfigurationResourceProvider.getResources.

Parameters
context:ServletContext

Doc from com.sun.faces.spi.ConfigurationResourceProvider.getResources.

the ServletContext for this application

Returns:Collection<URI>

Doc from com.sun.faces.spi.ConfigurationResourceProvider.getResources.

a List zero or more URL instances representing application configuration resources

Annotations
@Override
See Also
com.sun.faces.spi.ConfigurationResourceProvider#getResources(javax.servlet.ServletContext)
loadURLsback to summary
private Collection<URI> loadURLs(ServletContext context) throws IOException