Package | Description |
---|---|
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.modelling.command | |
org.axonframework.modelling.command.inspection | |
org.axonframework.test.aggregate |
Modifier and Type | Class and Description |
---|---|
class |
EventSourcedAggregate<T>
Implementation of an
Aggregate that is sourced from events that have
been published by the aggregate. |
Modifier and Type | Method and Description |
---|---|
<P> ApplyMore |
EventSourcedAggregate.doApply(P payload,
MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
ApplyMore |
ApplyMore.andThen(Runnable runnable)
Execute the given
runnable after applying the previous event. |
ApplyMore |
ApplyMore.andThenApply(Supplier<?> payloadOrMessageSupplier)
Apply a subsequent event to the aggregate after applying another event.
|
static ApplyMore |
AggregateLifecycle.apply(Object payload)
Apply a
DomainEventMessage with given payload without metadata (though
interceptors can also be used to provide metadata). |
static ApplyMore |
AggregateLifecycle.apply(Object payload,
MetaData metaData)
Apply a
DomainEventMessage with given payload and metadata (metadata
from interceptors will be combined with the provided metadata). |
protected abstract <T> ApplyMore |
AggregateLifecycle.doApply(T payload,
MetaData metaData)
Apply a
DomainEventMessage with given payload and metadata (metadata from
interceptors will be combined with the provided metadata). |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedAggregate<T>
Implementation of the
Aggregate interface that allows for an aggregate root to be a POJO with annotations on
its Command and Event Handler methods. |
Modifier and Type | Method and Description |
---|---|
ApplyMore |
AnnotatedAggregate.andThen(Runnable runnable) |
ApplyMore |
AnnotatedAggregate.andThenApply(Supplier<?> payloadOrMessageSupplier) |
protected <P> ApplyMore |
AnnotatedAggregate.doApply(P payload,
MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
protected <T> ApplyMore |
StubAggregateLifecycle.doApply(T payload,
MetaData metaData) |
Copyright © 2010–2018. All rights reserved.