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 String
Set this attribute if the current configuration requires enable window mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
configureAnnotatedFlows
(FacesContext facesContext) void
static void
enableDefaultWindowMode
(FacesContext facesContext) protected Application
protected FacesConfigData
protected FacesContext
protected InjectionProvider
protected FacesConfigUnmarshaller<? extends FacesConfig>
static boolean
isEnableDefaultWindowMode
(ExternalContext externalContext) static boolean
isUrlWindowMode
(ExternalContext externalContext) protected void
setApplication
(Application application) void
setDispenser
(FacesConfigData dispenser) void
setUnmarshaller
(FacesConfigUnmarshaller<? extends FacesConfig> unmarshaller) void
update()
-
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
-