|
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.impl.FlowExecutionImplFactory
public class FlowExecutionImplFactory
A factory for instances of the default flow execution implementation.
| Constructor Summary | |
|---|---|
FlowExecutionImplFactory()
|
|
| Method Summary | |
|---|---|
FlowExecution |
createFlowExecution(FlowDefinition flowDefinition)
Create a new flow execution product for the given flow definition. |
FlowExecution |
restoreFlowExecution(FlowExecution flowExecution,
FlowDefinition flowDefinition,
FlowExecutionKey flowExecutionKey,
MutableAttributeMap<java.lang.Object> conversationScope,
FlowDefinitionLocator subflowDefinitionLocator)
Restore the transient state of the flow execution. |
void |
setExecutionAttributes(AttributeMap<java.lang.Object> executionAttributes)
Sets the attributes to apply to flow executions created by this factory. |
void |
setExecutionKeyFactory(FlowExecutionKeyFactory executionKeyFactory)
Sets the strategy for generating flow execution keys for persistent flow executions. |
void |
setExecutionListenerLoader(FlowExecutionListenerLoader executionListenerLoader)
Sets the strategy for loading listeners that should observe executions of a flow definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowExecutionImplFactory()
| Method Detail |
|---|
public void setExecutionAttributes(AttributeMap<java.lang.Object> executionAttributes)
executionAttributes - flow execution system attributespublic void setExecutionListenerLoader(FlowExecutionListenerLoader executionListenerLoader)
public void setExecutionKeyFactory(FlowExecutionKeyFactory executionKeyFactory)
public FlowExecution createFlowExecution(FlowDefinition flowDefinition)
FlowExecutionFactory
createFlowExecution in interface FlowExecutionFactoryflowDefinition - the flow definition
public FlowExecution restoreFlowExecution(FlowExecution flowExecution,
FlowDefinition flowDefinition,
FlowExecutionKey flowExecutionKey,
MutableAttributeMap<java.lang.Object> conversationScope,
FlowDefinitionLocator subflowDefinitionLocator)
FlowExecutionFactory
restoreFlowExecution in interface FlowExecutionFactoryflowExecution - the flow execution, newly deserialized and needing restorationflowDefinition - the root flow definition for the execution, typically not part of the serialized formflowExecutionKey - the flow execution key, typically not part of the serialized formconversationScope - the execution's conversation scope, which is typically not part of the serialized form
since it could be shared by multiple physical flow execution copies all sharing the same logical
conversationsubflowDefinitionLocator - for locating the definitions of any subflows started by the execution
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||