|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.spi.FacesConfigurationMerger
org.apache.myfaces.config.DefaultFacesConfigurationMerger
public class DefaultFacesConfigurationMerger
Default impl of the FacesConfigurationMerger-SPI. This impl gets all FacesConfig data from the current FacesConfigurationProvider SPI impl and merges it into one FacesConfigData object using the ordering and sorting rules of the JSF spec.
| Constructor Summary | |
|---|---|
DefaultFacesConfigurationMerger()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFacesConfigurationMerger()
| Method Detail |
|---|
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 -
FacesExceptionprotected List<FacesConfig> sortRelativeOrderingList(List<FacesConfig> preOrderedList)
preOrderedList -
protected List<FacesConfig> getPostOrderedList(List<FacesConfig> appConfigResources)
throws FacesException
appConfigResources -
FacesException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||