org.apache.myfaces.config
Class FacesConfigurator

java.lang.Object
  extended by 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: 616946 $ $Date: 2008-01-30 18:20:15 -0500 (Wed, 30 Jan 2008) $
Author:
Manfred Geiler (latest modification by $Author: mmarinschek $)

Nested Class Summary
static class FacesConfigurator.JarInfo
           
static class FacesConfigurator.VersionInfo
           
 
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_TOMAHAWK_PACKAGE_NAME
           
static java.lang.String MYFACES_TOMAHAWK_SANDBOX_PACKAGE_NAME
           
 
Constructor Summary
FacesConfigurator(javax.faces.context.ExternalContext externalContext)
           
 
Method Summary
 void configure()
           
protected  void feedMetaInfServicesFactories()
          This method performs part of the factory search outlined in section 10.2.6.1.
protected  FacesConfigDispenser getDispenser()
           
protected  RuntimeConfig getRuntimeConfig()
           
protected  FacesConfigUnmarshaller getUnmarshaller()
           
protected  void logMetaInf()
          This method performs part of the factory search outlined in section 10.2.6.1.
 void setDispenser(FacesConfigDispenser dispenser)
           
 void setRuntimeConfig(RuntimeConfig runtimeConfig)
           
 void setUnmarshaller(FacesConfigUnmarshaller 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 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_TOMAHAWK_SANDBOX_PACKAGE_NAME

public static final java.lang.String MYFACES_TOMAHAWK_SANDBOX_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
Constructor Detail

FacesConfigurator

public FacesConfigurator(javax.faces.context.ExternalContext externalContext)
Method Detail

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.


feedMetaInfServicesFactories

protected void feedMetaInfServicesFactories()
This method performs part of the factory search outlined in section 10.2.6.1.


getRuntimeConfig

protected RuntimeConfig getRuntimeConfig()
Returns:

setRuntimeConfig

public void setRuntimeConfig(RuntimeConfig runtimeConfig)


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.