|
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
public abstract class AbstractFlowBuilder
Abstract base implementation of a flow builder defining common functionality needed by most concrete flow builder
implementations. This class implements all optional parts of the FlowBuilder process as no-op methods. Subclasses are
only required to implement buildStates().
| Constructor Summary | |
|---|---|
AbstractFlowBuilder()
|
|
| 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. |
abstract 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. |
void |
dispose()
Shutdown the builder, releasing any resources it holds. |
protected void |
doDispose()
Flow builder destruction hook. |
protected void |
doInit()
Flow builder initialization hook. |
protected FlowBuilderContext |
getContext()
Returns this flow builder's context. |
Flow |
getFlow()
Get the fully constructed and configured Flow object. |
java.lang.String |
getFlowResourceString()
Returns a string describing the location of the flow resource; the logical location where the source code can be found. |
boolean |
hasFlowChanged()
As the underlying flow managed by this builder changed since the last build occurred? |
void |
init(FlowBuilderContext context)
Initialize this builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFlowBuilder()
| Method Detail |
|---|
public void init(FlowBuilderContext context)
throws FlowBuilderException
FlowBuilder
init in interface FlowBuildercontext - the flow builder context
FlowBuilderException - an exception occurred building the flowprotected void doInit()
protected Flow createFlow()
protected FlowBuilderContext getContext()
public void buildVariables()
throws FlowBuilderException
FlowBuilder
buildVariables in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildInputMapper()
throws FlowBuilderException
FlowBuilder
buildInputMapper in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildStartActions()
throws FlowBuilderException
FlowBuilder
buildStartActions in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public abstract void buildStates()
throws FlowBuilderException
FlowBuilder
buildStates in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildGlobalTransitions()
throws FlowBuilderException
FlowBuilder
buildGlobalTransitions in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildEndActions()
throws FlowBuilderException
FlowBuilder
buildEndActions in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildOutputMapper()
throws FlowBuilderException
FlowBuilder
buildOutputMapper in interface FlowBuilderFlowBuilderException - an exception occurred building the flow
public void buildExceptionHandlers()
throws FlowBuilderException
FlowBuilder
buildExceptionHandlers in interface FlowBuilderFlowBuilderException - an exception occurred building this flow
public Flow getFlow()
throws FlowBuilderException
FlowBuilder
getFlow in interface FlowBuilderFlowBuilderException - an exception occurred building this flow
public void dispose()
throws FlowBuilderException
FlowBuilderFlowBuilder.init(FlowBuilderContext) method.
dispose in interface FlowBuilderFlowBuilderException - an exception occurred building this flowpublic boolean hasFlowChanged()
FlowBuilder
hasFlowChanged in interface FlowBuilderpublic java.lang.String getFlowResourceString()
FlowBuilder
getFlowResourceString in interface FlowBuilderprotected void doDispose()
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||