public class DefaultFacesConfigurationMerger extends FacesConfigurationMerger
Constructor and Description |
---|
DefaultFacesConfigurationMerger() |
Modifier and Type | Method and Description |
---|---|
protected List<FacesConfig> |
applySortingAlgorithm(List<FacesConfig> appConfigResources)
Sort using topological ordering algorithm.
|
FacesConfigData |
getFacesConfigData(ExternalContext externalContext)
Returns an object that collect all config information used by MyFaces
to initialize the web application.
|
protected List<FacesConfig> |
getPostOrderedList(List<FacesConfig> appConfigResources)
Pre Sort the appConfigResources, detecting cyclic references, so when sort process
start, it is just necessary to traverse the preOrderedList once.
|
protected void |
orderAndFeedArtifacts(FacesConfigDispenser dispenser,
List<FacesConfig> appConfigResources,
FacesConfig webAppConfig) |
protected List<FacesConfig> |
sortRelativeOrderingList(List<FacesConfig> preOrderedList)
Sort a list of pre ordered elements.
|
public FacesConfigData getFacesConfigData(ExternalContext externalContext)
FacesConfigurationMerger
getFacesConfigData
in class FacesConfigurationMerger
protected void orderAndFeedArtifacts(FacesConfigDispenser dispenser, List<FacesConfig> appConfigResources, FacesConfig webAppConfig) throws FacesException
FacesException
protected List<FacesConfig> applySortingAlgorithm(List<FacesConfig> appConfigResources) throws FacesException
appConfigResources
- FacesException
protected List<FacesConfig> sortRelativeOrderingList(List<FacesConfig> preOrderedList)
preOrderedList
- protected List<FacesConfig> getPostOrderedList(List<FacesConfig> appConfigResources) throws FacesException
appConfigResources
- FacesException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.