|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FlowExecutionSnapshotFactory
A factory for creating different FlowExecutionSnapshot implementations.
| Method Summary | |
|---|---|
FlowExecutionSnapshot |
createSnapshot(FlowExecution flowExecution)
Takes a snapshot of the flow execution. |
FlowExecution |
restoreExecution(FlowExecutionSnapshot snapshot,
java.lang.String flowId,
FlowExecutionKey key,
MutableAttributeMap<java.lang.Object> conversationScope,
FlowExecutionKeyFactory keyFactory)
Restores a flow execution from a previously taken snapshot. |
| Method Detail |
|---|
FlowExecutionSnapshot createSnapshot(FlowExecution flowExecution)
throws SnapshotCreationException
flowExecution - the flow execution
SnapshotCreationException - if the snapshot could not be created
FlowExecution restoreExecution(FlowExecutionSnapshot snapshot,
java.lang.String flowId,
FlowExecutionKey key,
MutableAttributeMap<java.lang.Object> conversationScope,
FlowExecutionKeyFactory keyFactory)
throws FlowExecutionRestorationFailureException
snapshot - the previously taken snapshotflowId - the id of the root flow definitionkey - the flow execution keyconversationScope - conversation scopekeyFactory - factory for creating new snapshot keys
FlowExecutionRestorationFailureException - if flow execution restoration fails
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||