|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.execution.repository.snapshot.FlowExecutionSnapshot
org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshot
public class SerializedFlowExecutionSnapshot
A snapshot implementation that is based on standard Java serialization, created by a
SerializedFlowExecutionSnapshotFactory
.
SerializedFlowExecutionSnapshotFactory
,
Serialized FormConstructor Summary | |
---|---|
SerializedFlowExecutionSnapshot()
Default constructor necessary for Externalizable custom serialization semantics. |
|
SerializedFlowExecutionSnapshot(FlowExecution flowExecution,
boolean compress)
Creates a new serialized flow execution snapshot. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
isCompressed()
Returns whether or not the flow execution data in this snapshot is compressed. |
void |
readExternal(ObjectInput in)
|
FlowExecution |
unmarshal(ClassLoader classLoader)
Unmarshal the flow execution from this snapshot's data. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializedFlowExecutionSnapshot()
Externalizable
custom serialization semantics. Should not be called by
application code.
public SerializedFlowExecutionSnapshot(FlowExecution flowExecution, boolean compress) throws SnapshotCreationException
flowExecution
- the flow executioncompress
- whether or not to apply compression during snapshotting
SnapshotCreationException
Method Detail |
---|
public boolean isCompressed()
public FlowExecution unmarshal(ClassLoader classLoader) throws SnapshotUnmarshalException
classLoader
- the classloader to use to resolve types during execution deserialization
SnapshotUnmarshalException
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |