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: 1550609 $ $Date: 2013-12-12 20:18:08 -0500 (Thu, 12 Dec 2013) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
static String ENABLE_DEFAULT_WINDOW_MODE
          Set this attribute if the current configuration requires enable window mode
 
Constructor Summary
FacesConfigurator(ExternalContext externalContext)
           
 
Method Summary
 void configure()
           
 void configureProtectedViews()
           
static void enableDefaultWindowMode(FacesContext facesContext)
           
protected  AnnotationConfigurator getAnnotationConfigurator()
           
protected  FacesConfigData getDispenser()
           
protected  FacesContext getFacesContext()
           
protected  InjectionProvider getInjectionProvider()
           
protected  RuntimeConfig getRuntimeConfig()
           
protected  FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller()
           
static boolean isEnableDefaultWindowMode(FacesContext facesContext)
           
 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

ENABLE_DEFAULT_WINDOW_MODE

public static final String ENABLE_DEFAULT_WINDOW_MODE
Set this attribute if the current configuration requires enable window mode

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

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig()

setRuntimeConfig

public void setRuntimeConfig(RuntimeConfig runtimeConfig)

enableDefaultWindowMode

public static void enableDefaultWindowMode(FacesContext facesContext)

isEnableDefaultWindowMode

public static boolean isEnableDefaultWindowMode(FacesContext facesContext)

configureProtectedViews

public void configureProtectedViews()

getInjectionProvider

protected InjectionProvider getInjectionProvider()

getFacesContext

protected FacesContext getFacesContext()


Copyright © 2014 The Apache Software Foundation. All rights reserved.