Package org.axonframework.modelling.command
package org.axonframework.modelling.command
-
ClassDescriptionAbstractRepository<T,
A extends Aggregate<T>> Abstract implementation of theRepositorythat takes care of the dispatching of events when an aggregate is persisted.Abstract Builder class to instantiateAbstractRepositoryimplementations.Aggregate<T>Interface that describes an aggregate.Command handler that registers a set ofCommandHandlerbased on annotations of an aggregate.Builder class to instantiate aAggregateAnnotationCommandHandler.Enumeration containing the possible creation policies for aggregates.Exception indicating that the entity of an aggregate could not be found.Exception thrown when an invocation on a method of an aggregate gives rise to an exception.Abstract base class of a component that models an aggregate's life cycle.Exception indicating that the an aggregate could not be found in the repository.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.Annotation placed on types that should be treated as the root of an aggregate.Describes the scope of an Aggregate by means of its type and identifier.Exception indicating that concurrent access to a repository was detected.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.Builder class to instantiate aAnnotationCommandTargetResolver.Interface that describes a mechanism that enables the application of an additional event after another event is applied.Annotation used to mark methods on Aggregate members which can intercept commands.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.Exception indicating that concurrent access to a repository was detected.Exception indicating that the (actual) version of a loaded aggregate did not match the given expected version number.Root of a hierarchy of exceptions indicating the detection of conflicting concurrent modifications.Annotation used to specify the creation policy for a command handler.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 withCreationPolicy.Default implementation of theRepositorySpanFactory.Builder class to instantiate aDefaultRepositorySpanFactory.ForwardingMode<T extends Message<?>>Interface describing the required functionality to forward a message.ForwardMatchingInstances<T extends Message<?>>Only forward messages of typeTif the routing key of the message matches that of the entity.ForwardNone<T extends Message<?>>Forward no messagesTregardless of their set up.ForwardToAll<T extends Message<?>>Forward all messagesTregardless of their set up.Generic repository implementation that stores JPA annotated aggregates.Builder class to instantiate aGenericJpaRepositoryfor aggregate typeT.Exception indicating that a required identifier is missing in the processed message.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.Abstract Builder class to instantiateLockingRepositoryimplementations.CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version of the aggregate that the command targets.Default implementation ofCreationPolicyAggregateFactorythat invokes the default, no-arguments constructor of the aggregate classA.Repository<T>TheRepositoryprovides an abstraction of the storage of aggregates.Provides a repository for given aggregate type.Span factory that creates spans for theRepository.Field or method level annotation that marks a field or method providing the identifier of the aggregate that a command targets.Field or method level annotation that marks a field or method providing the expected version of the aggregate that a command targets.Structure that holds an Aggregate Identifier and an expected version of an aggregate.