org.apache.myfaces.spi
Class FacesConfigResourceProvider

java.lang.Object
  extended by org.apache.myfaces.spi.FacesConfigResourceProvider
Direct Known Subclasses:
DefaultFacesConfigResourceProvider

public abstract class FacesConfigResourceProvider
extends Object

Locate faces-config xml files through classpath. These files has definitions that are used by initialize jsf environment.

By default it locate all files inside META-INF folder, named faces-config.xml or ending with .faces-config.xml

Since:
2.0.2
Author:
Leonardo Uribe

Constructor Summary
FacesConfigResourceProvider()
           
 
Method Summary
abstract  Collection<URL> getMetaInfConfigurationResources(ExternalContext context)
          Return a list of urls pointing to valid faces config-xml files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesConfigResourceProvider

public FacesConfigResourceProvider()
Method Detail

getMetaInfConfigurationResources

public abstract Collection<URL> getMetaInfConfigurationResources(ExternalContext context)
                                                          throws IOException
Return a list of urls pointing to valid faces config-xml files. These files will be parsed later and used initialize jsf environment.

Parameters:
context -
Returns:
Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.