Package org.apache.myfaces.config
Class FacesConfigurator
java.lang.Object
org.apache.myfaces.config.FacesConfigurator
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSet this attribute if the current configuration requires enable window mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidconfigureAnnotatedFlows(FacesContext facesContext) voidstatic voidenableDefaultWindowMode(FacesContext facesContext) protected Applicationprotected FacesConfigDataprotected FacesContextprotected InjectionProviderprotected FacesConfigUnmarshaller<? extends FacesConfig>static booleanisEnableDefaultWindowMode(ExternalContext externalContext) static booleanisUrlWindowMode(ExternalContext externalContext) protected voidsetApplication(Application application) voidsetDispenser(FacesConfigData dispenser) voidsetUnmarshaller(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller) voidupdate()
-
Field Details
-
ENABLE_DEFAULT_WINDOW_MODE
Set this attribute if the current configuration requires enable window mode- See Also:
-
-
Constructor Details
-
FacesConfigurator
-
-
Method Details
-
setUnmarshaller
- Parameters:
unmarshaller- the unmarshaller to set
-
getUnmarshaller
- Returns:
- the unmarshaller
-
setDispenser
- Parameters:
dispenser- the dispenser to set
-
getDispenser
- Returns:
- the dispenser
-
update
public void update() -
configure
- Throws:
FacesException
-
configureAnnotatedFlows
-
enableDefaultWindowMode
-
isEnableDefaultWindowMode
-
isUrlWindowMode
-
configureProtectedViews
public void configureProtectedViews() -
getInjectionProvider
-
getFacesContext
-
getApplication
-
setApplication
-