|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.config.FacesConfigurator
public class FacesConfigurator
Configures everything for a given context. The FacesConfigurator is independent of the concrete implementations that lie behind FacesConfigUnmarshaller and FacesConfigDispenser.
Field Summary | |
---|---|
static java.lang.String |
COMMONS_EL_PACKAGE_NAME
|
static java.lang.String |
JSP_API_PACKAGE_NAME
|
static java.lang.String |
MYFACES_API_PACKAGE_NAME
|
static java.lang.String |
MYFACES_IMPL_PACKAGE_NAME
|
static java.lang.String |
MYFACES_ORCHESTRA_PACKAGE_NAME
|
static java.lang.String |
MYFACES_ORCHESTRA12_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOBAGO_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOMAHAWK_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TOMAHAWK12_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TRINIDAD_API_PACKAGE_NAME
|
static java.lang.String |
MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
|
static java.lang.String |
REGEX_LIBRARY
Regular expression used to extract the jar information from the files present in the classpath. |
Constructor Summary | |
---|---|
FacesConfigurator(ExternalContext externalContext)
|
Method Summary | |
---|---|
protected java.util.List<FacesConfig> |
applySortingAlgorithm(java.util.List<FacesConfig> appConfigResources)
Sort using topological ordering algorithm. |
void |
configure()
|
protected void |
feedMetaInfServicesFactories()
This method performs part of the factory search outlined in section 10.2.6.1. |
protected AnnotationConfigurator |
getAnnotationConfigurator()
|
protected FacesConfigDispenser<FacesConfig> |
getDispenser()
|
protected java.util.List<FacesConfig> |
getPostOrderedList(java.util.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 RuntimeConfig |
getRuntimeConfig()
|
protected FacesConfigUnmarshaller<? extends FacesConfig> |
getUnmarshaller()
|
protected void |
logMetaInf()
This method performs part of the factory search outlined in section 10.2.6.1. |
protected void |
orderAndFeedArtifacts(java.util.List<FacesConfig> appConfigResources,
FacesConfig webAppConfig)
|
void |
setAnnotationConfigurator(AnnotationConfigurator configurator)
|
void |
setDispenser(FacesConfigDispenser<FacesConfig> dispenser)
|
void |
setRuntimeConfig(RuntimeConfig runtimeConfig)
|
void |
setUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)
|
protected java.util.List<FacesConfig> |
sortRelativeOrderingList(java.util.List<FacesConfig> preOrderedList)
Sort a list of pre ordered elements. |
void |
update()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MYFACES_API_PACKAGE_NAME
public static final java.lang.String MYFACES_IMPL_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK12_PACKAGE_NAME
public static final java.lang.String MYFACES_ORCHESTRA_PACKAGE_NAME
public static final java.lang.String MYFACES_ORCHESTRA12_PACKAGE_NAME
public static final java.lang.String MYFACES_TRINIDAD_API_PACKAGE_NAME
public static final java.lang.String MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
public static final java.lang.String MYFACES_TOBAGO_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
public static final java.lang.String COMMONS_EL_PACKAGE_NAME
public static final java.lang.String JSP_API_PACKAGE_NAME
public static final java.lang.String REGEX_LIBRARY
The groups found with the regular expression are:
Constructor Detail |
---|
public FacesConfigurator(ExternalContext externalContext)
Method Detail |
---|
public void setUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)
unmarshaller
- the unmarshaller to setprotected FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller()
public void setDispenser(FacesConfigDispenser<FacesConfig> dispenser)
dispenser
- the dispenser to setprotected FacesConfigDispenser<FacesConfig> getDispenser()
public void setAnnotationConfigurator(AnnotationConfigurator configurator)
protected AnnotationConfigurator getAnnotationConfigurator()
public void update()
public void configure() throws FacesException
FacesException
protected void logMetaInf()
protected void feedMetaInfServicesFactories()
protected void orderAndFeedArtifacts(java.util.List<FacesConfig> appConfigResources, FacesConfig webAppConfig) throws FacesException
FacesException
protected java.util.List<FacesConfig> applySortingAlgorithm(java.util.List<FacesConfig> appConfigResources) throws FacesException
appConfigResources
-
FacesException
protected java.util.List<FacesConfig> sortRelativeOrderingList(java.util.List<FacesConfig> preOrderedList)
preOrderedList
-
protected java.util.List<FacesConfig> getPostOrderedList(java.util.List<FacesConfig> appConfigResources) throws FacesException
appConfigResources
-
FacesException
protected RuntimeConfig getRuntimeConfig()
public void setRuntimeConfig(RuntimeConfig runtimeConfig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |