public class FlowApplication
extends javax.faces.application.ApplicationWrapper
Application
instance in order to ensure Web Flow specific implementations of ViewHandler
and
StateManager
are inserted at the front of the processing chain in JSF environments. This is done by
intercepting the corresponding setters. All other methods are simple delegation methods.Constructor and Description |
---|
FlowApplication(javax.faces.application.Application wrapped)
Class constructor that accepts a delegate Application instance.
|
Modifier and Type | Method and Description |
---|---|
javax.faces.application.Application |
getWrapped() |
void |
setStateManager(javax.faces.application.StateManager manager)
Inserts
FlowStateManager in front of the given StateManager (if not already done). |
void |
setViewHandler(javax.faces.application.ViewHandler handler)
Inserts a
FlowViewHandler in front of the given ViewHandler (if not already done). |
addBehavior, addComponent, addConverter, addConverter, addDefaultValidatorId, addELContextListener, addELResolver, addValidator, createBehavior, createComponent, createComponent, createComponent, createComponent, createComponent, createComponent, createConverter, createConverter, createMethodBinding, createValidator, createValueBinding, evaluateExpressionGet, getActionListener, getBehaviorIds, getComponentTypes, getConverterIds, getConverterTypes, getDefaultLocale, getDefaultRenderKitId, getDefaultValidatorInfo, getELContextListeners, getELResolver, getExpressionFactory, getFlowHandler, getMessageBundle, getNavigationHandler, getProjectStage, getPropertyResolver, getResourceBundle, getResourceHandler, getStateManager, getSupportedLocales, getValidatorIds, getVariableResolver, getViewHandler, publishEvent, publishEvent, removeELContextListener, setActionListener, setDefaultLocale, setDefaultRenderKitId, setFlowHandler, setMessageBundle, setNavigationHandler, setPropertyResolver, setResourceHandler, setSupportedLocales, setVariableResolver, subscribeToEvent, subscribeToEvent, unsubscribeFromEvent, unsubscribeFromEvent
public FlowApplication(javax.faces.application.Application wrapped)
FlowStateManager
and a
FlowViewHandler
instance.wrapped
- the wrapped Application instance.public javax.faces.application.Application getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<javax.faces.application.Application>
getWrapped
in class javax.faces.application.ApplicationWrapper
public void setStateManager(javax.faces.application.StateManager manager)
FlowStateManager
in front of the given StateManager (if not already done).setStateManager
in class javax.faces.application.ApplicationWrapper
public void setViewHandler(javax.faces.application.ViewHandler handler)
FlowViewHandler
in front of the given ViewHandler (if not already done).setViewHandler
in class javax.faces.application.ApplicationWrapper