java.lang.Object
org.apache.myfaces.config.FacesConfigurator
- public class FacesConfigurator
- extends java.lang.Object
Configures everything for a given context.
The FacesConfigurator is independent of the concrete implementations that lie
behind FacesConfigUnmarshaller and FacesConfigDispenser.
- Version:
- $Revision: 265603 $ $Date: 2005-08-31 19:15:26 -0400 (Wed, 31 Aug 2005) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
STANDARD_FACES_CONFIG_RESOURCE
private static final java.lang.String STANDARD_FACES_CONFIG_RESOURCE
FACES_CONFIG_RESOURCE
private static final java.lang.String FACES_CONFIG_RESOURCE
- See Also:
- Constant Field Values
META_INF_SERVICES_RESOURCE_PREFIX
private static final java.lang.String META_INF_SERVICES_RESOURCE_PREFIX
- See Also:
- Constant Field Values
META_INF_SERVICES_LOCATION
private static final java.lang.String META_INF_SERVICES_LOCATION
- See Also:
- Constant Field Values
DEFAULT_RENDER_KIT_CLASS
private static final java.lang.String DEFAULT_RENDER_KIT_CLASS
DEFAULT_APPLICATION_FACTORY
private static final java.lang.String DEFAULT_APPLICATION_FACTORY
DEFAULT_FACES_CONTEXT_FACTORY
private static final java.lang.String DEFAULT_FACES_CONTEXT_FACTORY
DEFAULT_LIFECYCLE_FACTORY
private static final java.lang.String DEFAULT_LIFECYCLE_FACTORY
DEFAULT_RENDER_KIT_FACTORY
private static final java.lang.String DEFAULT_RENDER_KIT_FACTORY
FACTORY_NAMES
private static final java.util.Set FACTORY_NAMES
_externalContext
private javax.faces.context.ExternalContext _externalContext
_unmarshaller
private FacesConfigUnmarshaller _unmarshaller
_dispenser
private FacesConfigDispenser _dispenser
FacesConfigurator
public FacesConfigurator(javax.faces.context.ExternalContext externalContext)
configure
public void configure()
throws javax.faces.FacesException
feedStandardConfig
private void feedStandardConfig()
throws java.io.IOException,
org.xml.sax.SAXException
feedMetaInfServicesFactories
protected void feedMetaInfServicesFactories()
- This method performs part of the factory search outlined in section 10.2.6.1.
expandFactoryNames
private java.util.Map expandFactoryNames(java.util.Set factoryNames)
feedClassloaderConfigurations
private void feedClassloaderConfigurations()
- This method fixes MYFACES-208
feedJarFileConfigurations
private void feedJarFileConfigurations()
- Deprecated.
feedClassloaderConfigurations() 55 replaces this one
- To make this easier AND to fix MYFACES-208 at the same time, this method is replaced by
feedClassloaderConfigurations() 55
feedJarConfig
private void feedJarConfig(java.lang.String jarPath)
throws javax.faces.FacesException
feedContextSpecifiedConfig
private void feedContextSpecifiedConfig()
throws java.io.IOException,
org.xml.sax.SAXException
feedWebAppConfig
private void feedWebAppConfig()
throws java.io.IOException,
org.xml.sax.SAXException
configureFactories
private void configureFactories()
setFactories
private void setFactories(java.lang.String factoryName,
java.util.Iterator factories,
java.lang.String defaultFactory)
configureApplication
private void configureApplication()
getApplicationObject
private java.lang.Object getApplicationObject(java.lang.Class interfaceClass,
java.util.Iterator classNamesIterator,
java.lang.Object defaultObject)
configureRuntimeConfig
private void configureRuntimeConfig()
configureRenderKits
private void configureRenderKits()
configureLifecycle
private void configureLifecycle()
getLifecycleId
private java.lang.String getLifecycleId()