public class FlowApplication
extends javax.faces.application.Application
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 1.2 and JSF 2.0 environments. This is
done by intercepting the corresponding setters. All other methods are simple delegation methods.Jsf2FlowApplication| Constructor and Description |
|---|
FlowApplication(javax.faces.application.Application delegate)
Class constructor that accepts a delegate Application instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.lang.String componentType,
java.lang.String componentClass) |
void |
addConverter(java.lang.Class<?> targetClass,
java.lang.String converterClass) |
void |
addConverter(java.lang.String converterId,
java.lang.String converterClass) |
void |
addELContextListener(javax.el.ELContextListener listener) |
void |
addELResolver(javax.el.ELResolver resolver) |
void |
addValidator(java.lang.String validatorId,
java.lang.String validatorClass) |
javax.faces.component.UIComponent |
createComponent(java.lang.String componentType) |
javax.faces.component.UIComponent |
createComponent(javax.faces.el.ValueBinding componentBinding,
javax.faces.context.FacesContext context,
java.lang.String componentType) |
javax.faces.component.UIComponent |
createComponent(javax.el.ValueExpression componentExpression,
javax.faces.context.FacesContext context,
java.lang.String componentType) |
javax.faces.convert.Converter |
createConverter(java.lang.Class<?> targetClass) |
javax.faces.convert.Converter |
createConverter(java.lang.String converterId) |
javax.faces.el.MethodBinding |
createMethodBinding(java.lang.String ref,
java.lang.Class<?>[] params) |
javax.faces.validator.Validator |
createValidator(java.lang.String validatorId) |
javax.faces.el.ValueBinding |
createValueBinding(java.lang.String ref) |
<T> T |
evaluateExpressionGet(javax.faces.context.FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType) |
javax.faces.event.ActionListener |
getActionListener() |
java.util.Iterator<java.lang.String> |
getComponentTypes() |
java.util.Iterator<java.lang.String> |
getConverterIds() |
java.util.Iterator<java.lang.Class<?>> |
getConverterTypes() |
java.util.Locale |
getDefaultLocale() |
java.lang.String |
getDefaultRenderKitId() |
javax.faces.application.Application |
getDelegate() |
javax.el.ELContextListener[] |
getELContextListeners() |
javax.el.ELResolver |
getELResolver() |
javax.el.ExpressionFactory |
getExpressionFactory() |
java.lang.String |
getMessageBundle() |
javax.faces.application.NavigationHandler |
getNavigationHandler() |
javax.faces.el.PropertyResolver |
getPropertyResolver() |
java.util.ResourceBundle |
getResourceBundle(javax.faces.context.FacesContext ctx,
java.lang.String name) |
javax.faces.application.StateManager |
getStateManager() |
java.util.Iterator<java.util.Locale> |
getSupportedLocales() |
java.util.Iterator<java.lang.String> |
getValidatorIds() |
javax.faces.el.VariableResolver |
getVariableResolver() |
javax.faces.application.ViewHandler |
getViewHandler() |
void |
removeELContextListener(javax.el.ELContextListener listener) |
void |
setActionListener(javax.faces.event.ActionListener listener) |
void |
setDefaultLocale(java.util.Locale locale) |
void |
setDefaultRenderKitId(java.lang.String renderKitId) |
void |
setMessageBundle(java.lang.String bundle) |
void |
setNavigationHandler(javax.faces.application.NavigationHandler handler) |
void |
setPropertyResolver(javax.faces.el.PropertyResolver resolver) |
void |
setStateManager(javax.faces.application.StateManager manager)
Inserts
FlowViewStateManager in front of the given StateManager (if not already done). |
void |
setSupportedLocales(java.util.Collection<java.util.Locale> locales) |
void |
setVariableResolver(javax.faces.el.VariableResolver resolver) |
void |
setViewHandler(javax.faces.application.ViewHandler handler)
Inserts a
FlowViewHandler in front of the given ViewHandler (if not already done). |
addBehavior, addDefaultValidatorId, createBehavior, createComponent, createComponent, createComponent, getBehaviorIds, getDefaultValidatorInfo, getFlowHandler, getProjectStage, getResourceHandler, publishEvent, publishEvent, setFlowHandler, setResourceHandler, subscribeToEvent, subscribeToEvent, unsubscribeFromEvent, unsubscribeFromEventpublic FlowApplication(javax.faces.application.Application delegate)
FlowViewStateManager and a
FlowViewHandler instance.delegate - the Application instance to delegate to.public javax.faces.application.Application getDelegate()
public javax.el.ELContextListener[] getELContextListeners()
getELContextListeners in class javax.faces.application.Applicationpublic void setStateManager(javax.faces.application.StateManager manager)
FlowViewStateManager in front of the given StateManager (if not already done).setStateManager in class javax.faces.application.Applicationpublic void setViewHandler(javax.faces.application.ViewHandler handler)
FlowViewHandler in front of the given ViewHandler (if not already done).setViewHandler in class javax.faces.application.Applicationpublic void addComponent(java.lang.String componentType,
java.lang.String componentClass)
addComponent in class javax.faces.application.Applicationpublic void addConverter(java.lang.String converterId,
java.lang.String converterClass)
addConverter in class javax.faces.application.Applicationpublic void addConverter(java.lang.Class<?> targetClass,
java.lang.String converterClass)
addConverter in class javax.faces.application.Applicationpublic void addELContextListener(javax.el.ELContextListener listener)
addELContextListener in class javax.faces.application.Applicationpublic void addELResolver(javax.el.ELResolver resolver)
addELResolver in class javax.faces.application.Applicationpublic void addValidator(java.lang.String validatorId,
java.lang.String validatorClass)
addValidator in class javax.faces.application.Applicationpublic javax.faces.component.UIComponent createComponent(java.lang.String componentType)
throws javax.faces.FacesException
createComponent in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding componentBinding,
javax.faces.context.FacesContext context,
java.lang.String componentType)
throws javax.faces.FacesException
createComponent in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic javax.faces.component.UIComponent createComponent(javax.el.ValueExpression componentExpression,
javax.faces.context.FacesContext context,
java.lang.String componentType)
throws javax.faces.FacesException
createComponent in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic javax.faces.convert.Converter createConverter(java.lang.String converterId)
createConverter in class javax.faces.application.Applicationpublic javax.faces.convert.Converter createConverter(java.lang.Class<?> targetClass)
createConverter in class javax.faces.application.Applicationpublic javax.faces.el.MethodBinding createMethodBinding(java.lang.String ref,
java.lang.Class<?>[] params)
throws javax.faces.el.ReferenceSyntaxException
createMethodBinding in class javax.faces.application.Applicationjavax.faces.el.ReferenceSyntaxExceptionpublic javax.faces.validator.Validator createValidator(java.lang.String validatorId)
throws javax.faces.FacesException
createValidator in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic javax.faces.el.ValueBinding createValueBinding(java.lang.String ref)
throws javax.faces.el.ReferenceSyntaxException
createValueBinding in class javax.faces.application.Applicationjavax.faces.el.ReferenceSyntaxExceptionpublic <T> T evaluateExpressionGet(javax.faces.context.FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
throws javax.el.ELException
evaluateExpressionGet in class javax.faces.application.Applicationjavax.el.ELExceptionpublic javax.faces.event.ActionListener getActionListener()
getActionListener in class javax.faces.application.Applicationpublic java.util.Iterator<java.lang.String> getComponentTypes()
getComponentTypes in class javax.faces.application.Applicationpublic java.util.Iterator<java.lang.String> getConverterIds()
getConverterIds in class javax.faces.application.Applicationpublic java.util.Iterator<java.lang.Class<?>> getConverterTypes()
getConverterTypes in class javax.faces.application.Applicationpublic java.util.Locale getDefaultLocale()
getDefaultLocale in class javax.faces.application.Applicationpublic java.lang.String getDefaultRenderKitId()
getDefaultRenderKitId in class javax.faces.application.Applicationpublic javax.el.ELResolver getELResolver()
getELResolver in class javax.faces.application.Applicationpublic javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory in class javax.faces.application.Applicationpublic java.lang.String getMessageBundle()
getMessageBundle in class javax.faces.application.Applicationpublic javax.faces.application.NavigationHandler getNavigationHandler()
getNavigationHandler in class javax.faces.application.Applicationpublic javax.faces.el.PropertyResolver getPropertyResolver()
getPropertyResolver in class javax.faces.application.Applicationpublic java.util.ResourceBundle getResourceBundle(javax.faces.context.FacesContext ctx,
java.lang.String name)
getResourceBundle in class javax.faces.application.Applicationpublic javax.faces.application.StateManager getStateManager()
getStateManager in class javax.faces.application.Applicationpublic java.util.Iterator<java.util.Locale> getSupportedLocales()
getSupportedLocales in class javax.faces.application.Applicationpublic java.util.Iterator<java.lang.String> getValidatorIds()
getValidatorIds in class javax.faces.application.Applicationpublic javax.faces.el.VariableResolver getVariableResolver()
getVariableResolver in class javax.faces.application.Applicationpublic javax.faces.application.ViewHandler getViewHandler()
getViewHandler in class javax.faces.application.Applicationpublic void removeELContextListener(javax.el.ELContextListener listener)
removeELContextListener in class javax.faces.application.Applicationpublic void setActionListener(javax.faces.event.ActionListener listener)
setActionListener in class javax.faces.application.Applicationpublic void setDefaultLocale(java.util.Locale locale)
setDefaultLocale in class javax.faces.application.Applicationpublic void setDefaultRenderKitId(java.lang.String renderKitId)
setDefaultRenderKitId in class javax.faces.application.Applicationpublic void setMessageBundle(java.lang.String bundle)
setMessageBundle in class javax.faces.application.Applicationpublic void setNavigationHandler(javax.faces.application.NavigationHandler handler)
setNavigationHandler in class javax.faces.application.Applicationpublic void setPropertyResolver(javax.faces.el.PropertyResolver resolver)
setPropertyResolver in class javax.faces.application.Applicationpublic void setSupportedLocales(java.util.Collection<java.util.Locale> locales)
setSupportedLocales in class javax.faces.application.Applicationpublic void setVariableResolver(javax.faces.el.VariableResolver resolver)
setVariableResolver in class javax.faces.application.Application