|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | ||
---|---|---|
|
CommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
Subscribe the given handler to commands of type commandType . |
|
|
SimpleCommandBus.subscribe(String commandName,
CommandHandler<? super T> handler)
Subscribe the given handler to commands of type commandType . |
|
|
CommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler)
Unsubscribe the given handler to commands of type commandType . |
|
|
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. |
|
|
DisruptorCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
|
|
|
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 | ||
---|---|---|
|
DistributedCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
Subscribe the given handler to commands of type commandType . |
|
|
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. |
|
|
DistributedCommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler)
Unsubscribe the given handler to commands of type commandType . |
|
|
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 | ||
---|---|---|
|
JGroupsConnector.subscribe(String commandName,
CommandHandler<? super C> handler)
|
|
|
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. |
|
|
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. |
|
|
RecordingCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
|
|
|
RecordingCommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |