|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SagaSerializer
Interface towards a serialization mechanism for Saga instances.
| Method Summary | |
|---|---|
Saga |
deserialize(byte[] serializedSaga)
Deserializes the given serializedSaga. |
byte[] |
serialize(Saga saga)
Serialize the given saga to a byte array. |
| Method Detail |
|---|
byte[] serialize(Saga saga)
saga to a byte array.
saga - The saga to serialize
SerializationException - if a technical error occurs while deserializing the SagaSaga deserialize(byte[] serializedSaga)
serializedSaga.
serializedSaga - the bytes representing the serialized form of a Saga
ClassCastException - if the given bytes do not represent a Saga
SerializationException - if a technical error occurs while deserializing the Saga
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||