Class SerializedSaga

java.lang.Object
org.axonframework.serialization.SimpleSerializedObject<byte[]>
org.axonframework.modelling.saga.repository.jpa.SerializedSaga
All Implemented Interfaces:
org.axonframework.serialization.SerializedObject<byte[]>

public class SerializedSaga extends org.axonframework.serialization.SimpleSerializedObject<byte[]>
Specialization of the SerializedObject for Sagas represented as byte array.
Since:
2.0
Author:
Allard Buijze
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.serialization.SimpleSerializedObject

    equals, getContentType, getData, getType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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