org.apache.myfaces.spi
Class FacesConfigurationProviderWrapper

java.lang.Object
  extended by org.apache.myfaces.spi.FacesConfigurationProvider
      extended by org.apache.myfaces.spi.FacesConfigurationProviderWrapper
All Implemented Interfaces:
FacesWrapper<FacesConfigurationProvider>

public abstract class FacesConfigurationProviderWrapper
extends FacesConfigurationProvider
implements FacesWrapper<FacesConfigurationProvider>

To wrap the default FacesConfigurationProvider, use a constructor like CustomFacesConfigurationProvider(FacesConfigurationProvider fcp) and extend it from FacesConfigurationProviderWrapper

Since:
2.0.3
Author:
Leonardo Uribe

Constructor Summary
FacesConfigurationProviderWrapper()
           
 
Method Summary
 FacesConfig getAnnotationsFacesConfig(ExternalContext ectx, boolean metadataComplete)
          Return the FacesConfig object model retrieved from scanning annotations on the classpath.
 List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from resources under the path META-INF/faces-config.xml and META-INF/[prefix].faces-config.xml
 List<FacesConfig> getContextSpecifiedFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from javax.faces.CONFIG_FILES web config attribute
 FacesConfig getMetaInfServicesFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from locate all JSF factories from META-INF/services/[factory_key].
 FacesConfig getStandardFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from MyFaces META-INF/standard-faces-config.xml file.
 FacesConfig getWebAppFacesConfig(ExternalContext ectx)
          Return the FacesConfig object model retrieved from WEB-INF/faces-config.xml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.FacesWrapper
getWrapped
 

Constructor Detail

FacesConfigurationProviderWrapper

public FacesConfigurationProviderWrapper()
Method Detail

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:

getMetaInfServicesFacesConfig

public FacesConfig getMetaInfServicesFacesConfig(ExternalContext ectx)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from locate all JSF factories from META-INF/services/[factory_key]. The default implementation uses ServiceProviderFinder facilities to locate this SPI interfaces.

Specified by:
getMetaInfServicesFacesConfig 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:

getClassloaderFacesConfig

public List<FacesConfig> getClassloaderFacesConfig(ExternalContext ectx)
Description copied from class: FacesConfigurationProvider
Return the FacesConfig object model retrieved from resources under the path META-INF/faces-config.xml and META-INF/[prefix].faces-config.xml

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.