See: Description
Interface | Description |
---|---|
CommandBus |
The mechanism that dispatches Command objects to their appropriate CommandHandler.
|
CommandCallback<C,R> |
Interface describing a callback that is invoked when command handler execution has finished.
|
CommandMessage<T> |
Represents a Message carrying a command as its payload.
|
CommandMessageHandler |
MessageHandler specialization for handlers of Command Messages.
|
CommandMessageHandlingMember<T> |
Interface describing a message handler capable of handling a specific command.
|
CommandResultMessage<R> |
Message that represents a result from handling a
CommandMessage . |
DuplicateCommandHandlerResolver |
Functional interface towards resolving the occurrence of a duplicate command handler being subscribed.
|
Class | Description |
---|---|
AnnotationCommandHandlerAdapter<T> |
Adapter that turns any
@CommandHandler annotated bean into a MessageHandler implementation. |
AsynchronousCommandBus |
Specialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.
|
AsynchronousCommandBus.Builder |
Builder class to instantiate a
AsynchronousCommandBus . |
CurrentUnitOfWorkParameterResolverFactory |
ParameterResolverFactory that add support for the UnitOfWork parameter type in annotated handlers.
|
DuplicateCommandHandlerResolution |
Enumeration describing a set of reasonable
DuplicateCommandHandlerResolver implementations. |
FailingDuplicateCommandHandlerResolver |
Implementation of
DuplicateCommandHandlerResolver that throws a
DuplicateCommandHandlerSubscriptionException when a duplicate registration is detected. |
GenericCommandMessage<T> |
Implementation of the CommandMessage that takes all properties as constructor parameters.
|
GenericCommandResultMessage<R> |
Generic implementation of
CommandResultMessage . |
LoggingDuplicateCommandHandlerResolver |
Implementation of the DuplicateCommandHandlerResolver that allows registrations to be overridden by new handlers,
but logs this (on WARN level) to a given logger.
|
MethodCommandHandlerDefinition |
Implementation of a
HandlerEnhancerDefinition that is used for CommandHandler annotated methods. |
MonitorAwareCallback<C,R> |
Wrapper for a callback that notifies a Message Monitor of the message execution result.
|
SimpleCommandBus |
Implementation of the CommandBus that dispatches commands to the handlers subscribed to that specific command's name.
|
SimpleCommandBus.Builder |
Builder class to instantiate a
SimpleCommandBus . |
Exception | Description |
---|---|
CommandExecutionException |
Indicates that an exception has occurred while handling a command.
|
DuplicateCommandHandlerSubscriptionException |
Exception indicating a duplicate Command Handler was subscribed whilst this behavior is purposefully guarded against.
|
NoHandlerForCommandException |
Exception indicating that no suitable handler could be found for the given command.
|
Annotation Type | Description |
---|---|
CommandHandler |
Marker annotation to mark any method on an object as being a CommandHandler.
|
RoutingKey |
Field or method level annotation that marks a field or method providing the routing key that a command
targets.
|
Copyright © 2010–2020. All rights reserved.