|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.saga.repository.jpa.SagaEntry
public class SagaEntry
Java Persistence Entity allowing sagas to be stored in a relational database.
| Constructor Summary | |
|---|---|
protected |
SagaEntry()
Constructor required by JPA. |
|
SagaEntry(Saga saga,
SagaSerializer serializer)
Constructs a new SagaEntry for the given saga. |
| Method Summary | |
|---|---|
Saga |
getSaga(SagaSerializer serializer)
Returns the Saga instance stored in this entry. |
String |
getSagaId()
Returns the Identifier of the Saga stored in this entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SagaEntry(Saga saga,
SagaSerializer serializer)
saga. The given saga must be serializable. The provided
saga is not modified by this operation.
saga - The saga to storeserializer - The serialization mechanism to convert the Saga to a byte streamprotected SagaEntry()
SagaEntry(org.axonframework.saga.Saga, org.axonframework.saga.repository.SagaSerializer)| Method Detail |
|---|
public Saga getSaga(SagaSerializer serializer)
serializer - The serializer to decode the Saga
public String getSagaId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||