org.springframework.webflow.execution.repository.continuation
Class FlowExecutionContinuation

java.lang.Object
  extended by org.springframework.webflow.execution.repository.continuation.FlowExecutionContinuation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SerializedFlowExecutionContinuation

public abstract class FlowExecutionContinuation
extends java.lang.Object
implements java.io.Serializable

A snapshot of a flow execution that can be restored from and serialized to a byte array.

Author:
Erwin Vervaet, Keith Donald
See Also:
FlowExecutionContinuationFactory, Serialized Form

Constructor Summary
FlowExecutionContinuation()
           
 
Method Summary
abstract  byte[] toByteArray()
          Converts this continuation to a byte array for convenient serialization.
abstract  FlowExecution unmarshal()
          Restores the flow execution wrapped in this continuation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowExecutionContinuation

public FlowExecutionContinuation()
Method Detail

unmarshal

public abstract FlowExecution unmarshal()
                                 throws ContinuationUnmarshalException
Restores the flow execution wrapped in this continuation.

Returns:
the unmarshalled flow execution
Throws:
ContinuationUnmarshalException - when there is a problem unmarshalling this continuation

toByteArray

public abstract byte[] toByteArray()
Converts this continuation to a byte array for convenient serialization.

Returns:
this as a byte array


Copyright © 2004-2007. All Rights Reserved.