T
- the serialized content-type of the saga.serializedSaga
was not handled well. There is a
SagaEntry
not extending from this abstract class anymore, you might be able to use instead.@Deprecated @MappedSuperclass public abstract class AbstractSagaEntry<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
revision
Deprecated.
|
protected String |
sagaId
Deprecated.
|
protected String |
sagaType
Deprecated.
|
protected T |
serializedSaga
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSagaEntry()
Deprecated.
Default constructor required by JPA.
|
|
AbstractSagaEntry(Object saga,
String sagaIdentifier,
Serializer serializer,
Class<T> contentType)
Deprecated.
Constructs a new SagaEntry for the given
saga . |
Modifier and Type | Method and Description |
---|---|
String |
getRevision()
Deprecated.
Returns the revision of the serialized saga
|
String |
getSagaId()
Deprecated.
Returns the identifier of the saga contained in this entry
|
String |
getSagaType()
Deprecated.
Returns the type identifier of the serialized saga
|
T |
getSerializedSaga()
Deprecated.
Returns the serialized form of the Saga.
|
protected String sagaId
protected String sagaType
protected String revision
protected T serializedSaga
public AbstractSagaEntry(Object saga, String sagaIdentifier, Serializer serializer, Class<T> contentType)
saga
. The given saga must be serializable. The provided saga is
not modified by this operation.saga
- The saga to storesagaIdentifier
- The saga identifierserializer
- The serialization mechanism to convert the Saga to a byte streamcontentType
- The saga content type to serialize toprotected AbstractSagaEntry()
public T getSerializedSaga()
public String getSagaId()
public String getRevision()
public String getSagaType()
Copyright © 2010–2024. All rights reserved.