Class SerializedSaga

java.lang.Object
org.axonframework.serialization.SimpleSerializedObject<byte[]>
org.axonframework.modelling.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 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