|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.builder.support.FlowBuilderContextImpl
public class FlowBuilderContextImpl
Generic implementation of a flow builder context, suitable for use by most flow assembly systems.
| Constructor Summary | |
|---|---|
FlowBuilderContextImpl(java.lang.String flowId,
AttributeMap<java.lang.Object> flowAttributes,
FlowDefinitionLocator flowDefinitionLocator,
FlowBuilderServices flowBuilderServices)
Creates a new flow builder context. |
|
| Method Summary | |
|---|---|
protected 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. |
ConversionService |
getConversionService()
Returns a generic type conversion service for converting between types, typically from string to a rich value object. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 builder| Method Detail |
|---|
public FlowBuilderServices getFlowBuilderServices()
public java.lang.String getFlowId()
FlowBuilderContext
getFlowId in interface FlowBuilderContextpublic AttributeMap<java.lang.Object> getFlowAttributes()
FlowBuilderContext
getFlowAttributes in interface FlowBuilderContextpublic FlowArtifactFactory getFlowArtifactFactory()
FlowBuilderContext
getFlowArtifactFactory in interface FlowBuilderContextpublic FlowDefinitionLocator getFlowDefinitionLocator()
FlowBuilderContext
getFlowDefinitionLocator in interface FlowBuilderContextpublic ConversionService getConversionService()
FlowBuilderContext
getConversionService in interface FlowBuilderContextpublic ViewFactoryCreator getViewFactoryCreator()
FlowBuilderContext
getViewFactoryCreator in interface FlowBuilderContextpublic ExpressionParser getExpressionParser()
FlowBuilderContext
getExpressionParser in interface FlowBuilderContextpublic org.springframework.context.ApplicationContext getApplicationContext()
FlowBuilderContext
getApplicationContext in interface FlowBuilderContextpublic org.springframework.validation.Validator getValidator()
FlowBuilderContext
getValidator in interface FlowBuilderContextpublic ValidationHintResolver getValidationHintResolver()
FlowBuilderContextValidationHintResolver.
getValidationHintResolver in interface FlowBuilderContextprotected ConversionService createConversionService()
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||