org.axonframework.saga.repository.jpa
Class SerializedSaga

java.lang.Object
  extended by org.axonframework.serializer.SimpleSerializedObject<byte[]>
      extended by 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.
 
Method Summary
 
Methods inherited from class org.axonframework.serializer.SimpleSerializedObject
equals, getContentType, getData, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Saga
type - The type of saga
revision - The revision of the serialized version


Copyright © 2010-2016. All Rights Reserved.