Uses of Interface
org.axonframework.messaging.commandhandling.CommandHandler
Packages that use CommandHandler
Package
Description
Classes that implement the concept of command handling using explicit command objects.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Modelling module.
Part of the Axon Test module.
Part of the Axon Test module.
-
Uses of CommandHandler in org.axonframework.messaging.commandhandling
Subinterfaces of CommandHandler in org.axonframework.messaging.commandhandlingModifier and TypeInterfaceDescriptioninterfaceInterface describing a group ofCommandHandlersbelonging to a single component.Classes in org.axonframework.messaging.commandhandling that implement CommandHandlerModifier and TypeClassDescriptionclassA simple implementation of theCommandHandlingComponentinterface, allowing for easy registration ofCommandHandlersand otherCommandHandlingComponents.Methods in org.axonframework.messaging.commandhandling with parameters of type CommandHandlerModifier and TypeMethodDescriptionprotected CompletableFuture<CommandResultMessage> SimpleCommandBus.handle(CommandMessage command, CommandHandler handler) Performs the actual handling logic.default SCommandHandlerRegistry.subscribe(Set<QualifiedName> names, CommandHandler commandHandler) CommandHandlerRegistry.subscribe(QualifiedName name, CommandHandler commandHandler) SimpleCommandBus.subscribe(QualifiedName name, CommandHandler commandHandler) SimpleCommandHandlingComponent.subscribe(QualifiedName name, CommandHandler commandHandler) Constructors in org.axonframework.messaging.commandhandling with parameters of type CommandHandlerModifierConstructorDescriptionDuplicateCommandHandlerSubscriptionException(QualifiedName name, CommandHandler initialHandler, CommandHandler duplicateHandler) Initialize a duplicateCommandHandlersubscription exception using the giveninitialHandlerandduplicateHandlerto form a specific message. -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.annotation
Classes in org.axonframework.messaging.commandhandling.annotation that implement CommandHandlerModifier and TypeClassDescriptionclassAdapter that turns classes withCommandHandlerannotated methods into aCommandHandlingComponent. -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.configuration
Methods in org.axonframework.messaging.commandhandling.configuration with parameters of type CommandHandlerModifier and TypeMethodDescriptionCommandHandlingModule.CommandHandlerPhase.commandHandler(QualifiedName commandName, CommandHandler commandHandler) Registers the givencommandHandlerfor the given qualifiedcommandNamewithin this module.Method parameters in org.axonframework.messaging.commandhandling.configuration with type arguments of type CommandHandlerModifier and TypeMethodDescriptionCommandHandlingModule.CommandHandlerPhase.commandHandler(QualifiedName commandName, ComponentBuilder<CommandHandler> commandHandlerBuilder) Registers the givencommandHandlerBuilderfor the given qualifiedcommandNamewithin this module. -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.distributed
Methods in org.axonframework.messaging.commandhandling.distributed with parameters of type CommandHandlerModifier and TypeMethodDescriptionDistributedCommandBus.subscribe(QualifiedName name, CommandHandler handler) -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.interception
Methods in org.axonframework.messaging.commandhandling.interception with parameters of type CommandHandlerModifier and TypeMethodDescriptionInterceptingCommandBus.subscribe(QualifiedName name, CommandHandler commandHandler) Constructors in org.axonframework.messaging.commandhandling.interception with parameters of type CommandHandlerModifierConstructorDescriptionCommandMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super CommandMessage>> interceptors, CommandHandler commandHandler) Constructs a newCommandMessageHandlerInterceptorChainwith a list ofinterceptorsand ancommandHandler. -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.retry
Methods in org.axonframework.messaging.commandhandling.retry with parameters of type CommandHandlerModifier and TypeMethodDescriptionRetryingCommandBus.subscribe(QualifiedName name, CommandHandler handler) -
Uses of CommandHandler in org.axonframework.messaging.commandhandling.tracing
Methods in org.axonframework.messaging.commandhandling.tracing with parameters of type CommandHandlerModifier and TypeMethodDescriptionTracingCommandBus.subscribe(QualifiedName name, CommandHandler commandHandler) -
Uses of CommandHandler in org.axonframework.modelling.entity
Classes in org.axonframework.modelling.entity that implement CommandHandlerModifier and TypeClassDescriptionclassACommandHandlingComponentthat handles commands for an entity.Methods in org.axonframework.modelling.entity with parameters of type CommandHandlerModifier and TypeMethodDescriptionEntityMetamodelBuilder.creationalCommandHandler(QualifiedName qualifiedName, CommandHandler messageHandler) Adds aCommandHandlerto this metamodel for the givenQualifiedNamethat is in charge of creation of the entity.PolymorphicEntityMetamodelBuilder.creationalCommandHandler(QualifiedName qualifiedName, CommandHandler messageHandler) -
Uses of CommandHandler in org.axonframework.test.fixture
Methods in org.axonframework.test.fixture with parameters of type CommandHandlerModifier and TypeMethodDescriptionRecordingCommandBus.subscribe(QualifiedName name, CommandHandler commandHandler) -
Uses of CommandHandler in org.axonframework.test.util
Methods in org.axonframework.test.util that return types with arguments of type CommandHandlerModifier and TypeMethodDescriptionRecordingCommandBus.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.util with parameters of type CommandHandlerModifier and TypeMethodDescriptionbooleanRecordingCommandBus.isSubscribed(CommandHandler commandHandler) Indicates whether the givencommandHandleris subscribed to this command bus.booleanRecordingCommandBus.isSubscribed(QualifiedName commandName, CommandHandler commandHandler) Indicates whether the givencommandHandleris subscribed to commands of the givencommandTypeon this command bus.RecordingCommandBus.subscribe(QualifiedName name, CommandHandler handler)