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)
FacesConfigurationMergergetFacesConfigData in class FacesConfigurationMergerprotected void orderAndFeedArtifacts(FacesConfigDispenser dispenser, List<FacesConfig> appConfigResources, FacesConfig webAppConfig) throws FacesException
FacesExceptionprotected List<FacesConfig> applySortingAlgorithm(List<FacesConfig> appConfigResources) throws FacesException
appConfigResources - FacesExceptionprotected List<FacesConfig> sortRelativeOrderingList(List<FacesConfig> preOrderedList)
preOrderedList - protected List<FacesConfig> getPostOrderedList(List<FacesConfig> appConfigResources) throws FacesException
appConfigResources - FacesExceptionCopyright © 2021 The Apache Software Foundation. All Rights Reserved.