org.springframework.webflow.execution.repository.support
Class AbstractFlowExecutionRepository

java.lang.Object
  extended by 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

Constructor Summary
protected AbstractFlowExecutionRepository(FlowExecutionStateRestorer executionStateRestorer)
          Constructor for use in subclasses.
 
Method Summary
protected  FlowExecutionStateRestorer getExecutionStateRestorer()
          Returns the strategy for restoring transient flow execution state after obtaining it from storage.
 
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.repository.FlowExecutionRepository
generateKey, getFlowExecution, getLock, getNextKey, parseFlowExecutionKey, putFlowExecution, removeFlowExecution
 

Constructor Detail

AbstractFlowExecutionRepository

protected AbstractFlowExecutionRepository(FlowExecutionStateRestorer executionStateRestorer)
Constructor for use in subclasses.

Parameters:
executionStateRestorer - the transient flow execution state restorer
Method Detail

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.