Package | Description |
---|---|
org.axonframework.modelling.command |
Modifier and Type | Method and Description |
---|---|
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.aggregateModel(AggregateModel<T> aggregateModel)
Sets the
AggregateModel of generic type T , describing the structure of the aggregate the
AnnotationCommandHandlerAdapter will handle. |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.aggregateType(Class<T> aggregateType)
Sets the
aggregateType as a Class , specifying the type of aggregate an AggregateModel
should be created for. |
static <T> AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.builder()
Instantiate a Builder to be able to create a
AggregateAnnotationCommandHandler . |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.commandTargetResolver(CommandTargetResolver commandTargetResolver)
Sets the
CommandTargetResolver used to resolve the command handling target. |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.creationPolicyAggregateFactory(CreationPolicyAggregateFactory<T> creationPolicyAggregateFactory)
Sets the
CreationPolicyAggregateFactory for generic type T . |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers for the given aggregateType . |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers contained in the
Aggregate. |
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.repository(Repository<T> repository)
Sets the
Repository used to add and load Aggregate instances of generic type T upon handling
commands for it. |
Constructor and Description |
---|
AggregateAnnotationCommandHandler(AggregateAnnotationCommandHandler.Builder<T> builder)
Instantiate a
AggregateAnnotationCommandHandler based on the fields contained in the AggregateAnnotationCommandHandler.Builder . |
Copyright © 2010–2024. All rights reserved.