Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.disruptor.commandhandling | |
org.axonframework.modelling.command | |
org.axonframework.test.aggregate |
Modifier and Type | Method and Description |
---|---|
AggregateConfigurer<A> |
AggregateConfigurer.configureCommandTargetResolver(Function<Configuration,CommandTargetResolver> commandTargetResolverBuilder)
Defines the CommandTargetResolver to use for the Aggregate type under configuration.
|
Modifier and Type | Method and Description |
---|---|
DisruptorCommandBus.Builder |
DisruptorCommandBus.Builder.commandTargetResolver(CommandTargetResolver commandTargetResolver)
Sets the
CommandTargetResolver that must be used to indicate which Aggregate instance will be invoked
by an incoming command. |
Modifier and Type | Class and Description |
---|---|
class |
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.
|
class |
MetaDataCommandTargetResolver
CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version
of the aggregate that the command targets.
|
Modifier and Type | Method and Description |
---|---|
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.commandTargetResolver(CommandTargetResolver commandTargetResolver)
Sets the
CommandTargetResolver used to resolve the command handling target. |
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
FixtureConfiguration.registerCommandTargetResolver(CommandTargetResolver commandTargetResolver)
Registers the
CommandTargetResolver within this fixture. |
FixtureConfiguration<T> |
AggregateTestFixture.registerCommandTargetResolver(CommandTargetResolver commandTargetResolver) |
Copyright © 2010–2024. All rights reserved.