org.springframework.webflow.execution.repository.continuation
Interface FlowExecutionContinuationFactory

All Known Implementing Classes:
SerializedFlowExecutionContinuationFactory

public interface FlowExecutionContinuationFactory

A factory for creating different FlowExecutionContinuation implementations.

Author:
Keith Donald, Erwin Vervaet

Method Summary
 FlowExecutionContinuation createContinuation(byte[] bytes)
          Creates a new flow execution continuation from the provided byte array.
 FlowExecutionContinuation createContinuation(FlowExecution flowExecution)
          Creates a new flow execution continuation for given flow execution.
 

Method Detail

createContinuation

FlowExecutionContinuation createContinuation(FlowExecution flowExecution)
                                             throws ContinuationCreationException
Creates a new flow execution continuation for given flow execution.

Parameters:
flowExecution - the flow execution
Returns:
the continuation
Throws:
ContinuationCreationException - when the continuation cannot be created

createContinuation

FlowExecutionContinuation createContinuation(byte[] bytes)
                                             throws ContinuationCreationException
Creates a new flow execution continuation from the provided byte array.

Parameters:
bytes - the flow execution byte array
Returns:
the continuation
Throws:
ContinuationCreationException - when the continuation cannot be created


Copyright © 2009 Spring Framework. All Rights Reserved.