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.
|
CommandTargetResolver |
Interface towards a mechanism that is capable of extracting an Aggregate Identifier and Version form a command that
identifies the aggregate instance the command should be invoked on.
|
SupportedCommandNamesAware |
Describes a component capable of specifying which commands it is able to handle.
|
Class | Description |
---|---|
AggregateAnnotationCommandHandler<T> |
Command handler that handles commands based on
CommandHandler
annotations on an aggregate. |
AnnotationCommandHandlerAdapter |
Adapter that turns any
@CommandHandler annotated bean into a MessageHandler implementation. |
AnnotationCommandTargetResolver |
CommandTargetResolver that uses annotations on the command to identify the methods that provide the
Aggregate Identifier of the targeted Aggregate and optionally the expected version of the aggregate.
|
AsynchronousCommandBus |
Specialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.
|
CurrentUnitOfWorkParameterResolverFactory |
ParameterResolverFactory that add support for the UnitOfWork parameter type in annotated handlers.
|
GenericCommandMessage<T> |
Implementation of the CommandMessage that takes all properties as constructor parameters.
|
InterceptorChainParameterResolverFactory |
Parameter resolver factory that adds support for resolving current
InterceptorChain . |
MetaDataCommandTargetResolver |
CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version
of the aggregate that the command targets.
|
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.
|
VersionedAggregateIdentifier |
Structure that holds an Aggregate Identifier and an expected version of an aggregate.
|
Exception | Description |
---|---|
CommandExecutionException |
Indicates that an exception has occurred while handling a command.
|
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.
|
TargetAggregateIdentifier |
Field or method level annotation that marks a field or method providing the identifier of the aggregate that a
command targets.
|
TargetAggregateVersion |
Field or method level annotation that marks a field or method providing the expected version of the aggregate that a
command targets.
|
Copyright © 2010–2018. All rights reserved.