Uses of Class
org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Packages that use AggregateAnnotationCommandHandler.Builder
-
Uses of AggregateAnnotationCommandHandler.Builder in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command that return AggregateAnnotationCommandHandler.BuilderModifier and TypeMethodDescriptionAggregateAnnotationCommandHandler.Builder.aggregateModel(AggregateModel<T> aggregateModel) Sets theAggregateModelof generic typeT, describing the structure of the aggregate theAnnotationCommandHandlerAdapterwill handle.AggregateAnnotationCommandHandler.Builder.aggregateType(Class<T> aggregateType) Sets theaggregateTypeas aClass, specifying the type of aggregate anAggregateModelshould be created for.static <T> AggregateAnnotationCommandHandler.Builder<T> AggregateAnnotationCommandHandler.builder()Instantiate a Builder to be able to create aAggregateAnnotationCommandHandler.AggregateAnnotationCommandHandler.Builder.commandTargetResolver(CommandTargetResolver commandTargetResolver) Sets theCommandTargetResolverused to resolve the command handling target.AggregateAnnotationCommandHandler.Builder.creationPolicyAggregateFactory(CreationPolicyAggregateFactory<T> creationPolicyAggregateFactory) Sets theCreationPolicyAggregateFactory<T>for generic typeT.AggregateAnnotationCommandHandler.Builder.handlerDefinition(HandlerDefinition handlerDefinition) Sets theHandlerDefinitionused to create concrete handlers for the givenaggregateType.AggregateAnnotationCommandHandler.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) Sets theParameterResolverFactoryused to resolve parameters for annotated handlers contained in the Aggregate.AggregateAnnotationCommandHandler.Builder.repository(Repository<T> repository) Sets theRepositoryused to add and load Aggregate instances of generic typeTupon handling commands for it.Constructors in org.axonframework.modelling.command with parameters of type AggregateAnnotationCommandHandler.BuilderModifierConstructorDescriptionprotectedInstantiate aAggregateAnnotationCommandHandlerbased on the fields contained in theAggregateAnnotationCommandHandler.Builder.