Uses of Interface
org.axonframework.commandhandling.CommandHandler

Packages that use CommandHandler
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   
org.axonframework.commandhandling.distributed   
org.axonframework.commandhandling.distributed.jgroups   
org.axonframework.quickstart.handler   
org.axonframework.test Classes in support of testing Axon based applications. 
org.axonframework.test.utils A collection of classes which may prove useful when testing Axon-based classes. 
 

Uses of CommandHandler in org.axonframework.commandhandling
 

Methods in org.axonframework.commandhandling with parameters of type CommandHandler
<C> void
CommandBus.subscribe(String commandName, CommandHandler<? super C> handler)
          Subscribe the given handler to commands of type commandType.
<T> void
SimpleCommandBus.subscribe(String commandName, CommandHandler<? super T> handler)
          Subscribe the given handler to commands of type commandType.
<C> boolean
CommandBus.unsubscribe(String commandName, CommandHandler<? super C> handler)
          Unsubscribe the given handler to commands of type commandType.
<T> boolean
SimpleCommandBus.unsubscribe(String commandName, CommandHandler<? super T> handler)
          Unsubscribe the given handler to commands of type commandType.
 

Constructors in org.axonframework.commandhandling with parameters of type CommandHandler
DefaultInterceptorChain(CommandMessage<?> command, UnitOfWork unitOfWork, CommandHandler<?> handler, Iterable<? extends CommandHandlerInterceptor> chain)
          Initialize the default interceptor chain to dispatch the given command, through the chain, to the handler.
 

Uses of CommandHandler in org.axonframework.commandhandling.annotation
 

Classes in org.axonframework.commandhandling.annotation that implement CommandHandler
 class AggregateAnnotationCommandHandler<T extends AggregateRoot>
          Command handler that handles commands based on CommandHandler annotations on an aggregate.
 class AnnotationCommandHandlerAdapter
          Adapter that turns any @CommandHandler annotated bean into a CommandHandler implementation.
 

Methods in org.axonframework.commandhandling.annotation that return types with arguments of type CommandHandler
protected  Class<CommandHandler> AnnotationCommandHandlerBeanPostProcessor.getAdapterInterface()
           
 

Methods in org.axonframework.commandhandling.annotation with parameters of type CommandHandler
protected  void AnnotationCommandHandlerBeanPostProcessor.subscribe(CommandHandler bean, AnnotationCommandHandlerAdapter adapter)
           
protected  void AnnotationCommandHandlerBeanPostProcessor.unsubscribe(CommandHandler bean, AnnotationCommandHandlerAdapter adapter)
           
 

Uses of CommandHandler in org.axonframework.commandhandling.disruptor
 

Methods in org.axonframework.commandhandling.disruptor with parameters of type CommandHandler
 void CommandHandlingEntry.reset(CommandMessage<?> newCommand, CommandHandler newCommandHandler, int newInvokerSegmentId, int newPublisherSegmentId, int newSerializerSegmentId, BlacklistDetectingCallback newCallback, List<CommandHandlerInterceptor> invokerInterceptors, List<CommandHandlerInterceptor> publisherInterceptors)
          Resets this entry, preparing it for use for another command.
<C> void
DisruptorCommandBus.subscribe(String commandName, CommandHandler<? super C> handler)
           
<C> boolean
DisruptorCommandBus.unsubscribe(String commandName, CommandHandler<? super C> handler)
           
 

Uses of CommandHandler in org.axonframework.commandhandling.distributed
 

Methods in org.axonframework.commandhandling.distributed with parameters of type CommandHandler
<C> void
DistributedCommandBus.subscribe(String commandName, CommandHandler<? super C> handler)
          Subscribe the given handler to commands of type commandType.
<C> void
CommandBusConnector.subscribe(String commandName, CommandHandler<? super C> handler)
          Subscribe the given handler to commands of type commandType to the local segment of the command bus.
<C> boolean
DistributedCommandBus.unsubscribe(String commandName, CommandHandler<? super C> handler)
          Unsubscribe the given handler to commands of type commandType.
<C> boolean
CommandBusConnector.unsubscribe(String commandName, CommandHandler<? super C> handler)
          Unsubscribe the given handler to commands of type commandType.
 

Uses of CommandHandler in org.axonframework.commandhandling.distributed.jgroups
 

Methods in org.axonframework.commandhandling.distributed.jgroups with parameters of type CommandHandler
<C> void
JGroupsConnector.subscribe(String commandName, CommandHandler<? super C> handler)
           
<C> boolean
JGroupsConnector.unsubscribe(String commandName, CommandHandler<? super C> handler)
           
 

Uses of CommandHandler in org.axonframework.quickstart.handler
 

Classes in org.axonframework.quickstart.handler that implement CommandHandler
 class CreateToDoCommandHandler
           
 class MarkCompletedCommandHandler
           
 

Uses of CommandHandler in org.axonframework.test
 

Methods in org.axonframework.test with parameters of type CommandHandler
 FixtureConfiguration<T> GivenWhenThenTestFixture.registerCommandHandler(Class<?> payloadType, CommandHandler commandHandler)
           
 FixtureConfiguration<T> FixtureConfiguration.registerCommandHandler(Class<?> payloadType, CommandHandler commandHandler)
          Registers a commandHandler to handle commands of the given commandType with the command bus used by this fixture.
 FixtureConfiguration<T> GivenWhenThenTestFixture.registerCommandHandler(String commandName, CommandHandler commandHandler)
           
 FixtureConfiguration<T> FixtureConfiguration.registerCommandHandler(String commandName, CommandHandler commandHandler)
          Registers a commandHandler to handle commands of the given commandType with the command bus used by this fixture.
 

Uses of CommandHandler in org.axonframework.test.utils
 

Methods in org.axonframework.test.utils that return types with arguments of type CommandHandler
 Map<String,CommandHandler<?>> RecordingCommandBus.getSubscriptions()
          Returns a Map will all Command Names and their Command Handler that have been subscribed to this command bus.
 

Methods in org.axonframework.test.utils with parameters of type CommandHandler
 boolean RecordingCommandBus.isSubscribed(CommandHandler<?> commandHandler)
          Indicates whether the given commandHandler is subscribed to this command bus.
<C> boolean
RecordingCommandBus.isSubscribed(String commandName, CommandHandler<? super C> commandHandler)
          Indicates whether the given commandHandler is subscribed to commands of the given commandType on this command bus.
<C> void
RecordingCommandBus.subscribe(String commandName, CommandHandler<? super C> handler)
           
<C> boolean
RecordingCommandBus.unsubscribe(String commandName, CommandHandler<? super C> handler)
           
 



Copyright © 2010-2016. All Rights Reserved.