Interface | Description |
---|---|
Aggregate<T> |
Interface that describes an aggregate.
|
ApplyMore |
Interface that describes a mechanism that enables the application of an additional event after another event is
applied.
|
ForwardingMode<T extends Message<?>> |
Interface describing the required functionality to forward a message.
|
Repository<T> |
The repository provides an abstraction of the storage of aggregates.
|
Class | Description |
---|---|
AbstractRepository<T,A extends Aggregate<T>> |
Abstract implementation of the
Repository that takes care of the dispatching of events when an aggregate is
persisted. |
AggregateLifecycle |
Abstract base class of a component that models an aggregate's life cycle.
|
ForwardMatchingInstances<T extends Message<?>> |
Only forward messages of type
T if the routing key of the message matches that of the entity. |
ForwardNone<T extends Message<?>> |
Forward no messages
T regardless of their set up. |
ForwardToAll<T extends Message<?>> |
Forward all messages
T regardless of their set up. |
GenericJpaRepository<T> |
Generic repository implementation that stores JPA annotated aggregates.
|
LockAwareAggregate<AR,A extends Aggregate<AR>> |
Aggregate implementation that provides access to the lock held by the aggregate while a command is handled.
|
LockingRepository<T,A extends Aggregate<T>> |
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent
modifications of persisted aggregates.
|
Exception | Description |
---|---|
AggregateInvocationException |
Exception thrown when an invocation on a method of an aggregate gives rise to an exception.
|
AggregateNotFoundException |
Exception indicating that the an aggregate could not be found in the repository.
|
AggregateRolledBackException |
Exception indicating that an aggregate has been part of a Unit of Work that was rolled back and that the validity of
its state cannot be guaranteed.
|
ConcurrencyException |
Exception indicating that concurrent access to a repository was detected.
|
ConflictingAggregateVersionException |
Exception indicating that the (actual) version of a loaded aggregate did not match the given expected version number.
|
ConflictingModificationException |
Root of a hierarchy of exceptions indicating the detection of conflicting concurrent modifications.
|
Annotation Type | Description |
---|---|
AggregateIdentifier |
Field annotation that identifies the field containing the identifier of the Aggregate.
|
AggregateMember |
Marker annotation for a field that references one or more Entities capable of handling Commands or Events.
|
AggregateRoot |
Annotation placed on types that should be treated as the root of an aggregate.
|
AggregateVersion |
Field annotation that indicates the field contains the value that represents the version of the Aggregate, used for
optimistic locking, as well as state validation for commands.
|
EntityId |
Field annotation that marks the field containing the identifier of an Entity.
|
Copyright © 2010–2017. All rights reserved.