|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository
org.springframework.webflow.execution.repository.snapshot.AbstractSnapshottingFlowExecutionRepository
public abstract class AbstractSnapshottingFlowExecutionRepository
Base class for repositories that take flow execution snapshots using a FlowExecutionSnapshotFactory.
| Field Summary |
|---|
| Fields inherited from class org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository |
|---|
logger |
| Constructor Summary | |
|---|---|
AbstractSnapshottingFlowExecutionRepository(ConversationManager conversationManager,
FlowExecutionSnapshotFactory snapshotFactory)
Creates a new snapshotting flow execution repository. |
|
| Method Summary | |
|---|---|
FlowExecutionSnapshotFactory |
getSnapshotFactory()
Returns the configured flow execution snapshot factory. |
protected java.io.Serializable |
getSnapshotId(FlowExecutionKey key)
Returns the snapshotId portion of the flow execution key. |
protected void |
putConversationScope(FlowExecution flowExecution,
Conversation conversation)
Puts the value of conversation scope in the conversation object. |
protected FlowExecution |
restoreFlowExecution(FlowExecutionSnapshot snapshot,
FlowExecutionKey key,
Conversation conversation)
Restore a flow execution from a snapshot. |
protected FlowExecutionSnapshot |
snapshot(FlowExecution flowExecution)
Take a new flow execution snapshot. |
| Methods inherited from class org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository |
|---|
assertKeySet, createConversationParameters, getAlwaysGenerateNewNextKey, getConversation, getConversation, getConversationManager, getFlowExecution, getKey, getLock, nextSnapshotId, parseFlowExecutionKey, putFlowExecution, removeFlowExecution, setAlwaysGenerateNewNextKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.webflow.execution.FlowExecutionKeyFactory |
|---|
removeAllFlowExecutionSnapshots, removeFlowExecutionSnapshot, updateFlowExecutionSnapshot |
| Constructor Detail |
|---|
public AbstractSnapshottingFlowExecutionRepository(ConversationManager conversationManager,
FlowExecutionSnapshotFactory snapshotFactory)
conversationManager - the conversation managersnapshotFactory - the execution snapshot factory| Method Detail |
|---|
public FlowExecutionSnapshotFactory getSnapshotFactory()
protected java.io.Serializable getSnapshotId(FlowExecutionKey key)
key - the execution keyprotected FlowExecutionSnapshot snapshot(FlowExecution flowExecution)
flowExecution - the execution to snapshot
protected FlowExecution restoreFlowExecution(FlowExecutionSnapshot snapshot,
FlowExecutionKey key,
Conversation conversation)
snapshot - the snapshotkey - the flow execution snapshot keyconversation - the governing conversation
protected void putConversationScope(FlowExecution flowExecution,
Conversation conversation)
flowExecution - the flow execution holding a reference to conversation scopeconversation - the conversation where conversation scope is stored
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||