| 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.
|
| CreationPolicyAggregateFactory<A> |
Interface to describe a way to create Aggregate instances based on an identifier when an instance has to be created
in order to be used in Command handlers annotated with
CreationPolicy. |
| 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 registers a set of
CommandHandler based on annotations of 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.
|
| NoArgumentConstructorCreationPolicyAggregateFactory<A> |
Default implementation of
CreationPolicyAggregateFactory that invokes the default, no-arguments constructor
of the aggregate class A. |
| VersionedAggregateIdentifier |
Structure that holds an Aggregate Identifier and an expected version of an aggregate.
|
| Enum | Description |
|---|---|
| AggregateCreationPolicy |
Enumeration containing the possible creation policies for aggregates.
|
| Exception | Description |
|---|---|
| AggregateEntityNotFoundException |
Exception indicating that the entity of 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.
|
| AggregateStreamCreationException |
Exception indicating that concurrent access to a repository was detected.
|
| 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.
|
| IdentifierMissingException |
Exception indicating that a required identifier is missing in the processed message.
|
| Annotation Type | Description |
|---|---|
| AggregateIdentifier | |
| AggregateMember | |
| AggregateRoot |
Annotation placed on types that should be treated as the root of an aggregate.
|
| AggregateVersion | |
| CommandHandlerInterceptor |
Annotation used to mark methods on Aggregate members which can intercept commands.
|
| CreationPolicy |
Annotation used to specify the creation policy for a command handler.
|
| EntityId | |
| 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–2023. All rights reserved.