| 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.
|
| CommandTargetResolver |
Interface towards a mechanism that is capable of extracting an Aggregate Identifier and Version form a command that
identifies the aggregate instance the command should be invoked on.
|
| 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.
|
| RepositoryProvider |
Provides a repository for given aggregate type.
|
| 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. |
| AbstractRepository.Builder<T> |
Abstract Builder class to instantiate
AbstractRepository implementations. |
| AggregateAnnotationCommandHandler<T> |
Command handler that handles commands based on
CommandHandler annotations on an aggregate. |
| AggregateAnnotationCommandHandler.Builder<T> |
Builder class to instantiate a
AggregateAnnotationCommandHandler. |
| AggregateLifecycle |
Abstract base class of a component that models an aggregate's life cycle.
|
| AggregateScopeDescriptor |
Describes the scope of an Aggregate by means of its type and identifier.
|
| AnnotationCommandTargetResolver |
CommandTargetResolver that uses annotations on the command to identify the methods that provide the
Aggregate Identifier of the targeted Aggregate and optionally the expected version of the aggregate.
|
| AnnotationCommandTargetResolver.Builder |
Builder class to instantiate a
AnnotationCommandTargetResolver. |
| 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.
|
| GenericJpaRepository.Builder<T> |
Builder class to instantiate a
GenericJpaRepository for aggregate type T. |
| 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.
|
| LockingRepository.Builder<T> |
Abstract Builder class to instantiate
LockingRepository implementations. |
| MetaDataCommandTargetResolver |
CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version
of the aggregate that the command targets.
|
| VersionedAggregateIdentifier |
Structure that holds an Aggregate Identifier and an expected version of an aggregate.
|
| Exception | Description |
|---|---|
| AggregateEntityNotFoundException |
Exception indicating that the an entity for an aggregate could not be found.
|
| 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.
|
| CommandHandlerInterceptor |
Annotation used to mark methods on Aggregate members which can intercept commands.
|
| EntityId |
Field annotation that marks the field containing the identifier of an Entity.
|
| TargetAggregateIdentifier |
Field or method level annotation that marks a field or method providing the identifier of the aggregate that a
command targets.
|
| TargetAggregateVersion |
Field or method level annotation that marks a field or method providing the expected version of the aggregate that a
command targets.
|
Copyright © 2010–2019. All rights reserved.