org.springframework.webflow.execution.repository.support
Class AbstractFlowExecutionRepository
java.lang.Object
org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository
- All Implemented Interfaces:
- FlowExecutionRepository
- Direct Known Subclasses:
- AbstractConversationFlowExecutionRepository
public abstract class AbstractFlowExecutionRepository
- extends java.lang.Object
- implements FlowExecutionRepository
Abstract base class for flow execution repository implementations. Does not make any assumptions about the storage
medium used to store active flow executions. Mandates the use of a FlowExecutionStateRestorer
, used to
rehydrate a flow execution after it has been obtained from storage from resume.
The configured FlowExecutionStateRestorer
should be compatible with the chosen FlowExecution
implementation and is configuration as done by a FlowExecutionFactory
(listeners, execution attributes, ...).
- Author:
- Erwin Vervaet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFlowExecutionRepository
protected AbstractFlowExecutionRepository(FlowExecutionStateRestorer executionStateRestorer)
- Constructor for use in subclasses.
- Parameters:
executionStateRestorer
- the transient flow execution state restorer
getExecutionStateRestorer
protected FlowExecutionStateRestorer getExecutionStateRestorer()
- Returns the strategy for restoring transient flow execution state after obtaining it from storage.
- Returns:
- the transient flow execution state restorer
Copyright © 2009 Spring Framework. All Rights Reserved.