org.apache.myfaces.config
Class FacesConfigurator
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: 1189008 $ $Date: 2011-10-25 21:39:00 -0500 (Tue, 25 Oct 2011) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $)
Constructor Summary |
FacesConfigurator(javax.faces.context.ExternalContext externalContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MYFACES_API_PACKAGE_NAME
public static final java.lang.String MYFACES_API_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_IMPL_PACKAGE_NAME
public static final java.lang.String MYFACES_IMPL_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOMAHAWK_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOMAHAWK12_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK12_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_ORCHESTRA_PACKAGE_NAME
public static final java.lang.String MYFACES_ORCHESTRA_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_ORCHESTRA12_PACKAGE_NAME
public static final java.lang.String MYFACES_ORCHESTRA12_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TRINIDAD_API_PACKAGE_NAME
public static final java.lang.String MYFACES_TRINIDAD_API_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
public static final java.lang.String MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOBAGO_PACKAGE_NAME
public static final java.lang.String MYFACES_TOBAGO_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
- See Also:
- Constant Field Values
MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
- See Also:
- Constant Field Values
COMMONS_EL_PACKAGE_NAME
public static final java.lang.String COMMONS_EL_PACKAGE_NAME
- See Also:
- Constant Field Values
JSP_API_PACKAGE_NAME
public static final java.lang.String JSP_API_PACKAGE_NAME
- See Also:
- Constant Field Values
REGEX_LIBRARY
public static final java.lang.String REGEX_LIBRARY
- Regular expression used to extract the jar information from the
files present in the classpath.
The groups found with the regular expression are:
- Group 2: file path
- Group 3: artifact id
- Group 4: version
The regexp is searching in the file name to the first - followed by a digit to split artifact name and version.
- See Also:
- Constant Field Values
FacesConfigurator
public FacesConfigurator(javax.faces.context.ExternalContext externalContext)
setUnmarshaller
public void setUnmarshaller(FacesConfigUnmarshaller unmarshaller)
- Parameters:
unmarshaller
- the unmarshaller to set
getUnmarshaller
protected FacesConfigUnmarshaller getUnmarshaller()
- Returns:
- the unmarshaller
setDispenser
public void setDispenser(FacesConfigDispenser dispenser)
- Parameters:
dispenser
- the dispenser to set
getDispenser
protected FacesConfigDispenser getDispenser()
- Returns:
- the dispenser
update
public void update()
configure
public void configure()
throws javax.faces.FacesException
- Throws:
javax.faces.FacesException
logMetaInf
protected void logMetaInf()
- This method performs part of the factory search outlined in section 10.2.6.1.
addJarInfo
protected static void addJarInfo(java.util.Map<java.lang.String,java.util.List<FacesConfigurator.JarInfo>> libs,
java.net.URL url)
feedMetaInfServicesFactories
protected void feedMetaInfServicesFactories()
- This method performs part of the factory search outlined in section 10.2.6.1.
getRuntimeConfig
protected RuntimeConfig getRuntimeConfig()
setRuntimeConfig
public void setRuntimeConfig(RuntimeConfig runtimeConfig)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.