Package org.axonframework.commandhandling
package org.axonframework.commandhandling
Classes that implement the concept of command handling using explicit command objects.
-
ClassDescriptionAdapter that turns any
@CommandHandlerannotated bean into aMessageHandlerimplementation.Specialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.Builder class to instantiate aAsynchronousCommandBus.The mechanism that dispatches Command objects to their appropriate CommandHandler.Span factory that creates spans for theCommandBus.CommandCallback<C,R> Interface describing a callback that is invoked when command handler execution has finished.Indicates that an exception has occurred while handling a command.Marker annotation to mark any method on an object as being a CommandHandler.Represents a Message carrying a command as its payload.MessageHandler specialization for handlers of Command Messages.Interface describing a message handler capable of handling a specific command.Message that represents a result from handling aCommandMessage.ParameterResolverFactory that add support for the UnitOfWork parameter type in annotated handlers.Default implementation of theCommandBusSpanFactory.Builder class to instantiate aDefaultCommandBusSpanFactory.Enumeration describing a set of reasonableDuplicateCommandHandlerResolverimplementations.Functional interface towards resolving the occurrence of a duplicate command handler being subscribed.Exception indicating a duplicate Command Handler was subscribed whilst this behavior is purposefully guarded against.Implementation ofDuplicateCommandHandlerResolverthat throws aDuplicateCommandHandlerSubscriptionExceptionwhen a duplicate registration is detected.Implementation of the CommandMessage that takes all properties as constructor parameters.Generic implementation ofCommandResultMessage.Implementation of the DuplicateCommandHandlerResolver that allows registrations to be overridden by new handlers, but logs this (on WARN level) to a given logger.Implementation of aHandlerEnhancerDefinitionthat is used forCommandHandlerannotated methods.MonitorAwareCallback<C,R> Wrapper for a callback that notifies a Message Monitor of the message execution result.Exception indicating that no suitable command handler could be found for the given command.Field or method level annotation that marks a field or method providing the routing key that a command targets.Implementation of the CommandBus that dispatches commands to the handlers subscribed to that specific command's name.Builder class to instantiate aSimpleCommandBus.Represents aCommandCallbackthat was wrapped with another.