org.apache.myfaces.config
Class DefaultFacesConfigurationProvider

java.lang.Object
  extended by org.apache.myfaces.spi.FacesConfigurationProvider
      extended by org.apache.myfaces.config.DefaultFacesConfigurationProvider

public class DefaultFacesConfigurationProvider
extends FacesConfigurationProvider

Since:
2.0.3
Author:
Leonardo Uribe

Constructor Summary
DefaultFacesConfigurationProvider()
           
 
Method Summary
protected  AnnotationConfigurator getAnnotationConfigurator()
           
 FacesConfig getAnnotationsFacesConfig(ExternalContext ectx, boolean metadataComplete)
          Return the FacesConfig object model retrieved from scanning annotations on the classpath.
 List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
          This method fixes MYFACES-208
 List<FacesConfig> getContextSpecifiedFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from javax.faces.CONFIG_FILES web config attribute
 FacesConfig getMetaInfServicesFacesConfig(ExternalContext ectx)
          This method performs part of the factory search outlined in section 10.2.6.1.
 FacesConfig getStandardFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from MyFaces META-INF/standard-faces-config.xml file.
protected  FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller(ExternalContext ectx)
           
 FacesConfig getWebAppFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from WEB-INF/faces-config.xml
protected  void setAnnotationConfigurator(AnnotationConfigurator configurator)
           
protected  void setUnmarshaller(ExternalContext ectx, FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFacesConfigurationProvider

public DefaultFacesConfigurationProvider()
Method Detail

setUnmarshaller

protected void setUnmarshaller(ExternalContext ectx,
                               FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)

getUnmarshaller

protected FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller(ExternalContext ectx)

setAnnotationConfigurator

protected void setAnnotationConfigurator(AnnotationConfigurator configurator)

getAnnotationConfigurator

protected AnnotationConfigurator getAnnotationConfigurator()

getStandardFacesConfig

public FacesConfig getStandardFacesConfig(ExternalContext ectx)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from MyFaces META-INF/standard-faces-config.xml file.

Specified by:
getStandardFacesConfig in class FacesConfigurationProvider
Returns:

getAnnotationsFacesConfig

public FacesConfig getAnnotationsFacesConfig(ExternalContext ectx,
                                             boolean metadataComplete)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from scanning annotations on the classpath.

Specified by:
getAnnotationsFacesConfig in class FacesConfigurationProvider
Returns:

getMetaInfServicesFacesConfig

public FacesConfig getMetaInfServicesFacesConfig(ExternalContext ectx)
This method performs part of the factory search outlined in section 10.2.6.1.

Specified by:
getMetaInfServicesFacesConfig in class FacesConfigurationProvider
Returns:

getClassloaderFacesConfig

public List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
This method fixes MYFACES-208

Specified by:
getClassloaderFacesConfig in class FacesConfigurationProvider
Returns:

getContextSpecifiedFacesConfig

public List<FacesConfig> getContextSpecifiedFacesConfig(ExternalContext ectx)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from javax.faces.CONFIG_FILES web config attribute

Specified by:
getContextSpecifiedFacesConfig in class FacesConfigurationProvider
Returns:

getWebAppFacesConfig

public FacesConfig getWebAppFacesConfig(ExternalContext ectx)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from WEB-INF/faces-config.xml

Specified by:
getWebAppFacesConfig in class FacesConfigurationProvider
Returns:


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