|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.execution.repository.continuation.SerializedFlowExecutionContinuationFactory
public class SerializedFlowExecutionContinuationFactory
A factory that creates new instances of flow execution continuations based on standard Java serialization.
SerializedFlowExecutionContinuation
Constructor Summary | |
---|---|
SerializedFlowExecutionContinuationFactory()
|
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. |
boolean |
getCompress()
Returns whether or not the continuations should be compressed. |
void |
setCompress(boolean compress)
Set whether or not the continuations should be compressed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializedFlowExecutionContinuationFactory()
Method Detail |
---|
public boolean getCompress()
public void setCompress(boolean compress)
public FlowExecutionContinuation createContinuation(FlowExecution flowExecution) throws ContinuationCreationException
FlowExecutionContinuationFactory
createContinuation
in interface FlowExecutionContinuationFactory
flowExecution
- the flow execution
ContinuationCreationException
- when the continuation cannot be createdpublic FlowExecutionContinuation createContinuation(byte[] bytes) throws ContinuationUnmarshalException
FlowExecutionContinuationFactory
createContinuation
in interface FlowExecutionContinuationFactory
bytes
- the flow execution byte array
ContinuationUnmarshalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |