org.apache.myfaces.spi
Class FacesConfigurationMerger

java.lang.Object
  extended by org.apache.myfaces.spi.FacesConfigurationMerger
Direct Known Subclasses:
DefaultFacesConfigurationMerger

public abstract class FacesConfigurationMerger
extends Object

SPI that uses the FacesConfigurationProvider-SPI to get all FacesConfig data and then it combines it into one FacesConfigData instance. For this merging process the ordering and sorting rules of the JSF spec must be applied. With this SPI it is possible to store the result of the complex ordering and sorting algorithm in order to skip it if no configuration changes are applied upon redeploy. Implementations of this SPI can take advantage of the decorator pattern in order to use the default SPI-impl.

Since:
2.0.3
Author:
Jakob Korherr

Constructor Summary
FacesConfigurationMerger()
           
 
Method Summary
abstract  FacesConfigData getFacesConfigData(ExternalContext ectx)
          Returns an object that collect all config information used by MyFaces to initialize the web application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesConfigurationMerger

public FacesConfigurationMerger()
Method Detail

getFacesConfigData

public abstract FacesConfigData getFacesConfigData(ExternalContext ectx)
Returns an object that collect all config information used by MyFaces to initialize the web application.

Parameters:
ectx -
Returns:


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