org.apache.myfaces.config
Class FacesConfigurator

java.lang.Object
  extended by org.apache.myfaces.config.FacesConfigurator

public class FacesConfigurator
extends Object

Configures everything for a given context. The FacesConfigurator is independent of the concrete implementations that lie behind FacesConfigUnmarshaller and FacesConfigDispenser.

Version:
$Revision: 1044474 $ $Date: 2010-12-10 13:40:16 -0500 (Fri, 10 Dec 2010) $
Author:
Manfred Geiler (latest modification by $Author: jakobk $)

Field Summary
static String COMMONS_EL_PACKAGE_NAME
           
static String JSP_API_PACKAGE_NAME
           
static String MYFACES_API_PACKAGE_NAME
           
static String MYFACES_IMPL_PACKAGE_NAME
           
static String MYFACES_ORCHESTRA_PACKAGE_NAME
           
static String MYFACES_ORCHESTRA12_PACKAGE_NAME
           
static String MYFACES_TOBAGO_PACKAGE_NAME
           
static String MYFACES_TOMAHAWK_PACKAGE_NAME
           
static String MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
           
static String MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
           
static String MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
           
static String MYFACES_TOMAHAWK12_PACKAGE_NAME
           
static String MYFACES_TRINIDAD_API_PACKAGE_NAME
           
static String MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
           
static 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
 void configure()
           
protected  AnnotationConfigurator getAnnotationConfigurator()
           
protected  FacesConfigData getDispenser()
           
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.
 void setAnnotationConfigurator(AnnotationConfigurator configurator)
           
 void setDispenser(FacesConfigData dispenser)
           
 void setRuntimeConfig(RuntimeConfig runtimeConfig)
           
 void setUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MYFACES_API_PACKAGE_NAME

public static final String MYFACES_API_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_IMPL_PACKAGE_NAME

public static final String MYFACES_IMPL_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOMAHAWK_PACKAGE_NAME

public static final String MYFACES_TOMAHAWK_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOMAHAWK12_PACKAGE_NAME

public static final String MYFACES_TOMAHAWK12_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_ORCHESTRA_PACKAGE_NAME

public static final String MYFACES_ORCHESTRA_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_ORCHESTRA12_PACKAGE_NAME

public static final String MYFACES_ORCHESTRA12_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TRINIDAD_API_PACKAGE_NAME

public static final String MYFACES_TRINIDAD_API_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TRINIDAD_IMPL_PACKAGE_NAME

public static final String MYFACES_TRINIDAD_IMPL_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOBAGO_PACKAGE_NAME

public static final String MYFACES_TOBAGO_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME

public static final String MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME

public static final String MYFACES_TOMAHAWK_SANDBOX12_PACKAGE_NAME
See Also:
Constant Field Values

MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME

public static final String MYFACES_TOMAHAWK_SANDBOX15_PACKAGE_NAME
See Also:
Constant Field Values

COMMONS_EL_PACKAGE_NAME

public static final String COMMONS_EL_PACKAGE_NAME
See Also:
Constant Field Values

JSP_API_PACKAGE_NAME

public static final String JSP_API_PACKAGE_NAME
See Also:
Constant Field Values

REGEX_LIBRARY

public static final 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:

See Also:
Constant Field Values
Constructor Detail

FacesConfigurator

public FacesConfigurator(ExternalContext externalContext)
Method Detail

setUnmarshaller

public void setUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)
Parameters:
unmarshaller - the unmarshaller to set

getUnmarshaller

protected FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller()
Returns:
the unmarshaller

setDispenser

public void setDispenser(FacesConfigData dispenser)
Parameters:
dispenser - the dispenser to set

getDispenser

protected FacesConfigData getDispenser()
Returns:
the dispenser

setAnnotationConfigurator

public void setAnnotationConfigurator(AnnotationConfigurator configurator)

getAnnotationConfigurator

protected AnnotationConfigurator getAnnotationConfigurator()

update

public void update()

configure

public void configure()
               throws FacesException
Throws:
FacesException

logMetaInf

protected void logMetaInf()
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 © 2010 The Apache Software Foundation. All Rights Reserved.