org.springframework.webflow.execution.repository.snapshot
Class AbstractSnapshottingFlowExecutionRepository

java.lang.Object
  extended by org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository
      extended by org.springframework.webflow.execution.repository.snapshot.AbstractSnapshottingFlowExecutionRepository
All Implemented Interfaces:
FlowExecutionKeyFactory, FlowExecutionRepository
Direct Known Subclasses:
DefaultFlowExecutionRepository

public abstract class AbstractSnapshottingFlowExecutionRepository
extends AbstractFlowExecutionRepository

Base class for repositories that take flow execution snapshots using a FlowExecutionSnapshotFactory.

Author:
Keith Donald

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.
 
Methods inherited from class org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository
getAlwaysGenerateNewNextKey, getConversationManager, getFlowExecution, getKey, getLock, parseFlowExecutionKey, putFlowExecution, removeFlowExecution, setAlwaysGenerateNewNextKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.webflow.execution.FlowExecutionKeyFactory
removeAllFlowExecutionSnapshots, removeFlowExecutionSnapshot, updateFlowExecutionSnapshot
 

Constructor Detail

AbstractSnapshottingFlowExecutionRepository

public AbstractSnapshottingFlowExecutionRepository(ConversationManager conversationManager,
                                                   FlowExecutionSnapshotFactory snapshotFactory)
Creates a new snapshotting flow execution repository.

Parameters:
conversationManager - the conversation manager
snapshotFactory - the execution snapshot factory
Method Detail

getSnapshotFactory

public FlowExecutionSnapshotFactory getSnapshotFactory()
Returns the configured flow execution snapshot factory.

Returns:
the snapshot factory