- initialize
Initialize an aggregate created by the given aggregateFactory which is described
in the given aggreg
- getAggregateRoot
Get the annotated aggregate instance. Note that this method should probably
never be used in normal
- handle
- publish
Publish an event to the aggregate root and its entities first and external event
handlers (using the
- publishOnEventBus
Publish an event to external event handlers using the given event bus.
- <init>
Initialize an Aggregate instance for the given aggregateRoot, described by the
given aggregateModel
- andThen
- apply
- applyMessageOrPayload
Apply a new event message to the aggregate and then publish this message to
external systems. If the
- createMessage
Creates an EventMessage with given payload and metaData.
- execute
- executeWithResult