org.axonframework.saga.repository.jpa
Class SerializedSaga
java.lang.Object
org.axonframework.serializer.SimpleSerializedObject<byte[]>
org.axonframework.saga.repository.jpa.SerializedSaga
- All Implemented Interfaces:
- SerializedObject<byte[]>
public class SerializedSaga
- extends SimpleSerializedObject<byte[]>
Specialization of the SerializedObject for Sagas represented as byte array.
- Since:
- 2.0
- Author:
- Allard Buijze
Constructor Summary |
SerializedSaga(byte[] data,
String type,
String revision)
Initialize a SerializedSaga instance with given data , of given type and
revision . |
SerializedSaga
public SerializedSaga(byte[] data,
String type,
String revision)
- Initialize a SerializedSaga instance with given
data
, of given type
and
revision
.
- Parameters:
data
- The binary data of the Sagatype
- The type of sagarevision
- The revision of the serialized version
Copyright © 2010-2016. All Rights Reserved.