public class FlowBuilderContextImpl extends java.lang.Object implements FlowBuilderContext
| Constructor and Description |
|---|
FlowBuilderContextImpl(java.lang.String flowId,
AttributeMap<java.lang.Object> flowAttributes,
FlowDefinitionLocator flowDefinitionLocator,
FlowBuilderServices flowBuilderServices)
Creates a new flow builder context.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.binding.convert.ConversionService |
createConversionService()
Factory method that creates the conversion service the flow builder will use.
|
org.springframework.context.ApplicationContext |
getApplicationContext()
Returns the application context hosting the flow system.
|
org.springframework.binding.convert.ConversionService |
getConversionService()
Returns a generic type conversion service for converting between types, typically from string to a rich value
object.
|
org.springframework.binding.expression.ExpressionParser |
getExpressionParser()
Returns the expression parser for parsing expression strings.
|
FlowArtifactFactory |
getFlowArtifactFactory()
Returns the factory for core flow artifacts such as Flow and State.
|
AttributeMap<java.lang.Object> |
getFlowAttributes()
Returns externally configured attributes to assign to the flow definition being built.
|
FlowBuilderServices |
getFlowBuilderServices() |
FlowDefinitionLocator |
getFlowDefinitionLocator()
Returns the locator for locating dependent flows (subflows).
|
java.lang.String |
getFlowId()
Returns an externally configured flow definition identifier to assign to the flow being built.
|
ValidationHintResolver |
getValidationHintResolver()
Return the
ValidationHintResolver. |
org.springframework.validation.Validator |
getValidator()
Returns the Validator instance to use for validating a model.
|
ViewFactoryCreator |
getViewFactoryCreator()
Returns the view factory creator for configuring a ViewFactory per view state
|
public FlowBuilderContextImpl(java.lang.String flowId,
AttributeMap<java.lang.Object> flowAttributes,
FlowDefinitionLocator flowDefinitionLocator,
FlowBuilderServices flowBuilderServices)
flowId - the id to assign the flow being builtflowAttributes - attributes to assign the flow being builtflowDefinitionLocator - a locator to find dependent subflowsflowBuilderServices - a parameter object providing access to additional services needed by the flow builderpublic FlowBuilderServices getFlowBuilderServices()
public java.lang.String getFlowId()
FlowBuilderContextgetFlowId in interface FlowBuilderContextpublic AttributeMap<java.lang.Object> getFlowAttributes()
FlowBuilderContextgetFlowAttributes in interface FlowBuilderContextpublic FlowArtifactFactory getFlowArtifactFactory()
FlowBuilderContextgetFlowArtifactFactory in interface FlowBuilderContextpublic FlowDefinitionLocator getFlowDefinitionLocator()
FlowBuilderContextgetFlowDefinitionLocator in interface FlowBuilderContextpublic org.springframework.binding.convert.ConversionService getConversionService()
FlowBuilderContextgetConversionService in interface FlowBuilderContextpublic ViewFactoryCreator getViewFactoryCreator()
FlowBuilderContextgetViewFactoryCreator in interface FlowBuilderContextpublic org.springframework.binding.expression.ExpressionParser getExpressionParser()
FlowBuilderContextgetExpressionParser in interface FlowBuilderContextpublic org.springframework.context.ApplicationContext getApplicationContext()
FlowBuilderContextgetApplicationContext in interface FlowBuilderContextpublic org.springframework.validation.Validator getValidator()
FlowBuilderContextgetValidator in interface FlowBuilderContextpublic ValidationHintResolver getValidationHintResolver()
FlowBuilderContextValidationHintResolver.getValidationHintResolver in interface FlowBuilderContextprotected org.springframework.binding.convert.ConversionService createConversionService()