Package org.apache.myfaces.config
Class FacesConfigurator
- java.lang.Object
- 
- 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$ $Date$
- Author:
- Manfred Geiler (latest modification by $Author$)
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringENABLE_DEFAULT_WINDOW_MODESet this attribute if the current configuration requires enable window mode
 - 
Constructor SummaryConstructors Constructor Description FacesConfigurator(ExternalContext externalContext)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()static voidconfigureAnnotatedFlows(FacesContext facesContext)voidconfigureProtectedViews()static voidenableDefaultWindowMode(FacesContext facesContext)protected ApplicationgetApplication()protected FacesConfigDatagetDispenser()protected FacesContextgetFacesContext()protected InjectionProvidergetInjectionProvider()protected FacesConfigUnmarshaller<? extends FacesConfig>getUnmarshaller()static booleanisEnableDefaultWindowMode(FacesContext facesContext)protected voidsetApplication(Application application)voidsetDispenser(FacesConfigData dispenser)voidsetUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller)voidupdate()
 
- 
- 
- 
Field Detail- 
ENABLE_DEFAULT_WINDOW_MODEpublic 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- 
FacesConfiguratorpublic FacesConfigurator(ExternalContext externalContext) 
 
- 
 - 
Method Detail- 
setUnmarshallerpublic void setUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller) - Parameters:
- unmarshaller- the unmarshaller to set
 
 - 
getUnmarshallerprotected FacesConfigUnmarshaller<? extends FacesConfig> getUnmarshaller() - Returns:
- the unmarshaller
 
 - 
setDispenserpublic void setDispenser(FacesConfigData dispenser) - Parameters:
- dispenser- the dispenser to set
 
 - 
getDispenserprotected FacesConfigData getDispenser() - Returns:
- the dispenser
 
 - 
updatepublic void update() 
 - 
configurepublic void configure() throws FacesException- Throws:
- FacesException
 
 - 
configureAnnotatedFlowspublic static void configureAnnotatedFlows(FacesContext facesContext) 
 - 
enableDefaultWindowModepublic static void enableDefaultWindowMode(FacesContext facesContext) 
 - 
isEnableDefaultWindowModepublic static boolean isEnableDefaultWindowMode(FacesContext facesContext) 
 - 
configureProtectedViewspublic void configureProtectedViews() 
 - 
getInjectionProviderprotected InjectionProvider getInjectionProvider() 
 - 
getFacesContextprotected FacesContext getFacesContext() 
 - 
getApplicationprotected Application getApplication() 
 - 
setApplicationprotected void setApplication(Application application) 
 
- 
 
-