Uses of Interface
org.axonframework.commandhandling.CommandTargetResolver

Packages that use CommandTargetResolver
org.axonframework.commandhandling Classes that implement the concept of command handling using explicit command objects. 
org.axonframework.commandhandling.annotation Classes that provide annotation support for command handling. 
org.axonframework.commandhandling.disruptor   
 

Uses of CommandTargetResolver in org.axonframework.commandhandling
 

Classes in org.axonframework.commandhandling that implement CommandTargetResolver
 class MetaDataCommandTargetResolver
          CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version of the aggregate that the command targets.
 

Uses of CommandTargetResolver in org.axonframework.commandhandling.annotation
 

Classes in org.axonframework.commandhandling.annotation that implement CommandTargetResolver
 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.
 

Methods in org.axonframework.commandhandling.annotation with parameters of type CommandTargetResolver
 void AggregateAnnotationCommandHandlerFactoryBean.setCommandTargetResolver(CommandTargetResolver commandTargetResolver)
          The resolver providing the identifier (and version) of the aggregate a command targets.
static
<T extends AggregateRoot>
AggregateAnnotationCommandHandler
AggregateAnnotationCommandHandler.subscribe(Class<T> aggregateType, Repository<T> repository, CommandBus commandBus, CommandTargetResolver commandTargetResolver)
          Subscribe a handler for the given aggregate type to the given command bus.
 

Constructors in org.axonframework.commandhandling.annotation with parameters of type CommandTargetResolver
AggregateAnnotationCommandHandler(Class<T> aggregateType, Repository<T> repository, CommandBus commandBus, CommandTargetResolver commandTargetResolver)
          Deprecated. Use AggregateAnnotationCommandHandler.AggregateAnnotationCommandHandler(Class, org.axonframework.repository.Repository, org.axonframework.commandhandling.CommandTargetResolver) and subscribe the handler to the command bus using CommandBus.subscribe(String, org.axonframework.commandhandling.CommandHandler). Alternatively, use AggregateAnnotationCommandHandler.subscribe(Class, org.axonframework.repository.Repository, org.axonframework.commandhandling.CommandBus, org.axonframework.commandhandling.CommandTargetResolver).
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.
 

Uses of CommandTargetResolver in org.axonframework.commandhandling.disruptor
 

Methods in org.axonframework.commandhandling.disruptor that return CommandTargetResolver
 CommandTargetResolver DisruptorConfiguration.getCommandTargetResolver()
          Returns the CommandTargetResolver that is used to find out which Aggregate is to be invoked for a given Command.
 

Methods in org.axonframework.commandhandling.disruptor with parameters of type CommandTargetResolver
 DisruptorConfiguration DisruptorConfiguration.setCommandTargetResolver(CommandTargetResolver newCommandTargetResolver)
          Sets the CommandTargetResolver that must be used to indicate which Aggregate instance will be invoked by an incoming command.
 



Copyright © 2010-2016. All Rights Reserved.