| Package | Description | 
|---|---|
| org.axonframework.commandhandling | 
 Classes that implement the concept of command handling using explicit command objects. 
 | 
| org.axonframework.commandhandling.disruptor | |
| org.axonframework.config | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
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. 
 | 
class  | 
MetaDataCommandTargetResolver
CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version
 of the aggregate that the command targets. 
 | 
| Constructor and Description | 
|---|
AggregateAnnotationCommandHandler(Class<T> aggregateType,
                                 Repository<T> repository,
                                 CommandTargetResolver commandTargetResolver)
Initializes an AnnotationCommandHandler based on the annotations on given  
aggregateType, using the
 given repository to add and load aggregate instances and the default ParameterResolverFactory. | 
AggregateAnnotationCommandHandler(Class<T> aggregateType,
                                 Repository<T> repository,
                                 CommandTargetResolver commandTargetResolver,
                                 ParameterResolverFactory parameterResolverFactory)
Initializes an AnnotationCommandHandler based on the annotations on given  
aggregateType, using the
 given repository to add and load aggregate instances and the given
 parameterResolverFactory. | 
AggregateAnnotationCommandHandler(Repository<T> repository,
                                 CommandTargetResolver commandTargetResolver,
                                 AggregateModel<T> aggregateModel)
Initializes an AnnotationCommandHandler based on the annotations on given  
aggregateType, using the
 given repository to add and load aggregate instances and the given
 parameterResolverFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
CommandTargetResolver | 
DisruptorConfiguration.getCommandTargetResolver()
Returns the CommandTargetResolver that is used to find out which Aggregate is to be invoked for a given Command. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DisruptorConfiguration | 
DisruptorConfiguration.setCommandTargetResolver(CommandTargetResolver newCommandTargetResolver)
Sets the CommandTargetResolver that must be used to indicate which Aggregate instance will be invoked by an
 incoming command. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AggregateConfigurer<A> | 
AggregateConfigurer.configureCommandTargetResolver(Function<Configuration,CommandTargetResolver> commandTargetResolverBuilder)
Defines the CommandTargetResolver to use for the Aggregate type under configuration. 
 | 
Copyright © 2010–2018. All rights reserved.