Uses of Interface
org.axonframework.messaging.core.annotation.HandlerDefinition
Packages that use HandlerDefinition
Package
Description
-
Uses of HandlerDefinition in org.axonframework.extension.spring.config.annotation
Methods in org.axonframework.extension.spring.config.annotation that return HandlerDefinitionConstructor parameters in org.axonframework.extension.spring.config.annotation with type arguments of type HandlerDefinitionModifierConstructorDescriptionHandlerDefinitionFactoryBean(List<HandlerDefinition> definitions, List<HandlerEnhancerDefinition> enhancerDefinitions) -
Uses of HandlerDefinition in org.axonframework.messaging.commandhandling.annotation
Constructors in org.axonframework.messaging.commandhandling.annotation with parameters of type HandlerDefinitionModifierConstructorDescriptionAnnotatedCommandHandlingComponent(T annotatedCommandHandler, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, MessageTypeResolver messageTypeResolver, MessageConverter converter) Wraps the givenannotatedCommandHandler, allowing it to be subscribed to aCommandBusas aCommandHandlingComponent. -
Uses of HandlerDefinition in org.axonframework.messaging.core.annotation
Classes in org.axonframework.messaging.core.annotation that implement HandlerDefinitionModifier and TypeClassDescriptionclassThe default HandlerDefinition implementation in Axon.classHandlerDefinition instance that delegates to multiple other instances, in the order provided.Methods in org.axonframework.messaging.core.annotation that return types with arguments of type HandlerDefinitionModifier and TypeMethodDescriptionMultiHandlerDefinition.getDelegates()Returns the delegates of this instance, in the order they are evaluated to resolve parameters.Methods in org.axonframework.messaging.core.annotation with parameters of type HandlerDefinitionModifier and TypeMethodDescriptionstatic <T> AnnotatedHandlerInspector<T> AnnotatedHandlerInspector.inspectType(Class<T> handlerType, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition) Create an inspector for givenhandlerTypethat uses givenparameterResolverFactoryto resolve method parameters and givenhandlerDefinitionto create handlers.static <T> AnnotatedHandlerInspector<T> AnnotatedHandlerInspector.inspectType(Class<T> handlerType, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, Set<Class<? extends T>> declaredSubtypes) Create an inspector for givenhandlerTypeand itsdeclaredSubtypesthat uses givenparameterResolverFactoryto resolve method parameters and givenhandlerDefinitionto create handlers.static MultiHandlerDefinitionMultiHandlerDefinition.ordered(HandlerDefinition... delegates) Creates a MultiHandlerDefinition instance with the givendelegates, which are automatically ordered based on the@Priorityannotation on their respective classes.static MultiHandlerDefinitionMultiHandlerDefinition.ordered(HandlerEnhancerDefinition handlerEnhancerDefinition, HandlerDefinition... delegates) Creates a MultiHandlerDefinition instance with the givendelegates, which are automatically ordered based on the@Priorityannotation on their respective classes.Method parameters in org.axonframework.messaging.core.annotation with type arguments of type HandlerDefinitionModifier and TypeMethodDescriptionstatic MultiHandlerDefinitionMultiHandlerDefinition.ordered(List<HandlerDefinition> delegates) Creates a MultiHandlerDefinition instance with the givendelegates, which are automatically ordered based on the@Priorityannotation on their respective classes.static MultiHandlerDefinitionMultiHandlerDefinition.ordered(List<HandlerDefinition> delegates, HandlerEnhancerDefinition handlerEnhancerDefinition) Creates a MultiHandlerDefinition instance with the givendelegates, which are automatically ordered based on the@Priorityannotation on their respective classes.Constructors in org.axonframework.messaging.core.annotation with parameters of type HandlerDefinitionModifierConstructorDescriptionMultiHandlerDefinition(HandlerDefinition... delegates) Initializes an instance that delegates to the givendelegates, in the order provided.Constructor parameters in org.axonframework.messaging.core.annotation with type arguments of type HandlerDefinitionModifierConstructorDescriptionMultiHandlerDefinition(List<HandlerDefinition> delegates) Initializes an instance that delegates to the givendelegates, in the order provided.MultiHandlerDefinition(List<HandlerDefinition> delegates, HandlerEnhancerDefinition handlerEnhancerDefinition) Initializes an instance that delegates to the givendelegates, in the order provided. -
Uses of HandlerDefinition in org.axonframework.messaging.eventhandling.annotation
Constructors in org.axonframework.messaging.eventhandling.annotation with parameters of type HandlerDefinitionModifierConstructorDescriptionAnnotatedEventHandlingComponent(T annotatedEventHandler, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, MessageTypeResolver messageTypeResolver, EventConverter converter) Wraps the givenannotatedEventHandler, allowing it to be subscribed to anEventSinkas anEventHandlingComponent. -
Uses of HandlerDefinition in org.axonframework.messaging.queryhandling.annotation
Constructors in org.axonframework.messaging.queryhandling.annotation with parameters of type HandlerDefinitionModifierConstructorDescriptionAnnotatedQueryHandlingComponent(T annotatedQueryHandler, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, MessageTypeResolver messageTypeResolver, MessageConverter converter) Wraps the givenannotatedQueryHandler, allowing it to be subscribed to aQueryBusas aQueryHandlingComponent.