|
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.AbstractFlowBuilder
org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder
public class FlowModelFlowBuilder
Builds a runtime Flow definition object from a FlowModel.
| Constructor Summary | |
|---|---|
FlowModelFlowBuilder(FlowModelHolder flowModelHolder)
Creates a flow builder that can build a Flow from a FlowModel. |
|
| Method Summary | |
|---|---|
void |
buildEndActions()
Builds any end actions to execute when the flow ends. |
void |
buildExceptionHandlers()
Creates and adds all exception handlers to the flow built by this builder. |
void |
buildGlobalTransitions()
Builds any transitions shared by all states of the flow. |
void |
buildInputMapper()
Builds the input mapper responsible for mapping flow input on start. |
void |
buildOutputMapper()
Builds the output mapper responsible for mapping flow output on end. |
void |
buildStartActions()
Builds any start actions to execute when the flow starts. |
void |
buildStates()
Builds the states of the flow. |
void |
buildVariables()
Builds any variables initialized by the flow when it starts. |
protected Flow |
createFlow()
Factory method that initially creates the flow implementation during flow builder initialization. |
protected void |
doDispose()
Shutdown the builder, releasing any resources it holds. |
protected void |
doInit()
Initialize this builder. |
protected FlowModel |
getFlowModel()
|
java.lang.String |
getFlowResourceString()
Returns a string describing the location of the flow resource; the logical location where the source code can be found. |
protected org.springframework.webflow.engine.builder.model.LocalFlowBuilderContext |
getLocalContext()
|
boolean |
hasFlowChanged()
As the underlying flow managed by this builder changed since the last build occurred? |
protected void |
registerFlowBeans(org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory)
Register beans in the bean factory local to the flow definition being built. |
protected void |
setLocalContext(org.springframework.webflow.engine.builder.model.LocalFlowBuilderContext localFlowBuilderContext)
|
java.lang.String |
toString()
|
| Methods inherited from class org.springframework.webflow.engine.builder.support.AbstractFlowBuilder |
|---|
dispose, getContext, getFlow, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowModelFlowBuilder(FlowModelHolder flowModelHolder)
Flow from a FlowModel.
flowModelHolder - the flow model holder| Method Detail |
|---|
protected void doInit()
throws FlowBuilderException
doInit in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flowprotected Flow createFlow()
AbstractFlowBuilder
createFlow in class AbstractFlowBuilder
public void buildVariables()
throws FlowBuilderException
buildVariables in interface FlowBuilderbuildVariables in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildInputMapper()
throws FlowBuilderException
buildInputMapper in interface FlowBuilderbuildInputMapper in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildStartActions()
throws FlowBuilderException
buildStartActions in interface FlowBuilderbuildStartActions in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildStates()
throws FlowBuilderException
buildStates in interface FlowBuilderbuildStates in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildGlobalTransitions()
throws FlowBuilderException
buildGlobalTransitions in interface FlowBuilderbuildGlobalTransitions in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildEndActions()
throws FlowBuilderException
buildEndActions in interface FlowBuilderbuildEndActions in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildOutputMapper()
throws FlowBuilderException
buildOutputMapper in interface FlowBuilderbuildOutputMapper in class AbstractFlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildExceptionHandlers()
throws FlowBuilderException
buildExceptionHandlers in interface FlowBuilderbuildExceptionHandlers in class AbstractFlowBuilderFlowBuilderException - an exception occurred building this flowpublic boolean hasFlowChanged()
FlowBuilder
hasFlowChanged in interface FlowBuilderhasFlowChanged in class AbstractFlowBuilderpublic java.lang.String getFlowResourceString()
FlowBuilder
getFlowResourceString in interface FlowBuildergetFlowResourceString in class AbstractFlowBuilder
protected void doDispose()
throws FlowBuilderException
AbstractFlowBuilder.init(FlowBuilderContext) method.
doDispose in class AbstractFlowBuilderFlowBuilderException - an exception occurred building this flowprotected FlowModel getFlowModel()
protected org.springframework.webflow.engine.builder.model.LocalFlowBuilderContext getLocalContext()
protected void setLocalContext(org.springframework.webflow.engine.builder.model.LocalFlowBuilderContext localFlowBuilderContext)
protected void registerFlowBeans(org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory)
Subclasses may override this method to customize the population of the bean factory local to the flow definition being built; for example, to register mock implementations of services in a test environment.
beanFactory - the bean factory; register local beans with it using
SingletonBeanRegistry.registerSingleton(String, Object)public java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||