| AggregateIdResolver<T,ID> |
Interface responsible for resolve the optional aggregate id associated with the type T
Example of usages:
Command - return the aggregate id associated with the command (can return an Optional.empty())
in case server generated id's are used for commands that create a new Aggregate instance)
Event - return the aggregate id associated with the event
State - return the aggregate id associated with the aggregate state event projection
View - return the aggregate id associated with the View event projection
|
| CommandHandler<COMMAND,EVENT,ERROR> |
|
| Decider<COMMAND,EVENT,ERROR,STATE> |
Variant of the event sourced Decider pattern, which supports building an Aggregate STATE based on previous EVENT's that relate to the
aggregate instance, and which can handle COMMAND's, whose side effect is either an ERROR or a List of EVENT's (can be an empty list)
|
| Handler<COMMAND,EVENT,ERROR,STATE> |
Decider related interface that is responsible for handling COMMAND(s),whose side effect is either an ERROR or a List of EVENT's (can be an empty list)
|
| HandlerResult<ERROR,EVENT> |
|
| InitialStateProvider<STATE> |
|
| IsStateFinalResolver<STATE> |
Decider related interface that resolves if the aggregate's state is final and no more changes can occur, i.e.
|
| StateEvolver<EVENT,STATE> |
A Decider or View related interface, which can apply EVENT<(s) to a aggregate/projection/view STATE instance
|
| View<EVENT,STATE> |
Variant of the Event Sourced Projection/View concept
|