|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.config.FlowBuilderServicesBuilder
public class FlowBuilderServicesBuilder
A builder for creating FlowBuilderServices instances designed for programmatic
use in @Bean factory methods. For XML configuration consider using the
webflow-config XML namespace.
| Constructor Summary | |
|---|---|
FlowBuilderServicesBuilder(org.springframework.context.ApplicationContext applicationContext)
Create a new instance with the given ApplicationContext. |
|
| Method Summary | |
|---|---|
FlowBuilderServices |
build()
Create and return a FlowBuilderServices instance. |
FlowBuilderServicesBuilder |
setConversionService(org.springframework.binding.convert.ConversionService conversionService)
Set the ConversionService to use. |
FlowBuilderServicesBuilder |
setDevelopmentMode(boolean enableDevelopmentMode)
Put all flows in development mode. |
FlowBuilderServicesBuilder |
setExpressionParser(org.springframework.binding.expression.ExpressionParser expressionParser)
Set the ExpressionParser to use. |
FlowBuilderServicesBuilder |
setValidationHintResolver(ValidationHintResolver resolver)
The ValidationHintResolver to use to resolve validation hints such as bean validation groups. |
FlowBuilderServicesBuilder |
setValidator(org.springframework.validation.Validator validator)
Set the Validator to use for validating a model declared on a view state. |
FlowBuilderServicesBuilder |
setViewFactoryCreator(ViewFactoryCreator viewFactoryCreator)
Set a custom ViewFactoryCreator to use for rendering. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowBuilderServicesBuilder(org.springframework.context.ApplicationContext applicationContext)
applicationContext - the ApplicationContext to use to initialize a
default ViewFactoryCreator instance with.| Method Detail |
|---|
public FlowBuilderServicesBuilder setConversionService(org.springframework.binding.convert.ConversionService conversionService)
ConversionService to use.
By default a DefaultConversionService instance is used.
conversionService - the conversion servicepublic FlowBuilderServicesBuilder setExpressionParser(org.springframework.binding.expression.ExpressionParser expressionParser)
ExpressionParser to use.
By default a WebFlowSpringELExpressionParser with SpEL expressions is used.
expressionParser - the expression parser to usepublic FlowBuilderServicesBuilder setViewFactoryCreator(ViewFactoryCreator viewFactoryCreator)
ViewFactoryCreator to use for rendering.
By default an MvcViewFactoryCreator instance is used.
viewFactoryCreator - the ViewFactory creator to usepublic FlowBuilderServicesBuilder setValidator(org.springframework.validation.Validator validator)
Validator to use for validating a model declared on a view state.
By default bean validation (JSR-303) is enabled if a bean validation provider is
present on the classpath.
validator - the validator to usepublic FlowBuilderServicesBuilder setValidationHintResolver(ValidationHintResolver resolver)
ValidationHintResolver to use to resolve validation hints such as bean validation groups.
By default a BeanValidationHintResolver is used.
resolver - the resolver to usepublic FlowBuilderServicesBuilder setDevelopmentMode(boolean enableDevelopmentMode)
true, changes to a flow
definition are auto-detected and result in a flow refresh.
By default this is set to false
enableDevelopmentMode - whether to enable development modepublic FlowBuilderServices build()
FlowBuilderServices instance.
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||