Class SerializedSaga
java.lang.Object
org.axonframework.serialization.SimpleSerializedObject<byte[]>
org.axonframework.modelling.saga.repository.jpa.SerializedSaga
- All Implemented Interfaces:
SerializedObject<byte[]>
Specialization of the SerializedObject for Sagas represented as byte array.
- Since:
- 2.0
- Author:
- Allard Buijze
-
Constructor Summary
ConstructorsConstructorDescriptionSerializedSaga(byte[] data, String type, String revision) Initialize a SerializedSaga instance with givendata, of giventypeandrevision. -
Method Summary
Methods inherited from class org.axonframework.serialization.SimpleSerializedObject
equals, getContentType, getData, getType, hashCode, toString
-
Constructor Details
-
SerializedSaga
Initialize a SerializedSaga instance with givendata, of giventypeandrevision.- Parameters:
data- The binary data of the Sagatype- The type of sagarevision- The revision of the serialized version
-