| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus. |
| org.axonframework.messaging.annotation | |
| org.axonframework.queryhandling.annotation |
| Constructor and Description |
|---|
AnnotationCommandHandlerAdapter(T annotatedCommandHandler,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Wraps the given
annotatedCommandHandler, allowing it to be subscribed to a Command Bus. |
| Modifier and Type | Method and Description |
|---|---|
B |
SimpleEventHandlerInvoker.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers in the annotated handlers in the AnnotationEventHandlerAdapter this EventHandlerInvoker instantiates. |
| Constructor and Description |
|---|
AnnotationEventHandlerAdapter(Object annotatedEventListener,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Wraps the given
annotatedEventListener, allowing it to be subscribed to an Event Bus. |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedMessageHandlingMemberDefinition
The default HandlerDefinition implementation in Axon.
|
class |
MultiHandlerDefinition
HandlerDefinition instance that delegates to multiple other instances, in the order provided.
|
| Modifier and Type | Method and Description |
|---|---|
List<HandlerDefinition> |
MultiHandlerDefinition.getDelegates()
Returns the delegates of this instance, in the order they are evaluated to resolve parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Create an inspector for given
handlerType that uses given parameterResolverFactory to resolve
method parameters and given handlerDefinition to create handlers. |
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
Set<Class<? extends T>> declaredSubtypes)
Create an inspector for given
handlerType and its declaredSubtypes that uses given parameterResolverFactory to resolve method parameters and given handlerDefinition to create handlers. |
static MultiHandlerDefinition |
MultiHandlerDefinition.ordered(HandlerDefinition... delegates)
Creates a MultiHandlerDefinition instance with the given
delegates, which are automatically ordered
based
on the @Priority annotation on their respective classes. |
static MultiHandlerDefinition |
MultiHandlerDefinition.ordered(HandlerEnhancerDefinition handlerEnhancerDefinition,
HandlerDefinition... delegates)
Creates a MultiHandlerDefinition instance with the given
delegates, which are automatically ordered
based
on the @Priority annotation on their respective classes. |
| Modifier and Type | Method and Description |
|---|---|
static MultiHandlerDefinition |
MultiHandlerDefinition.ordered(List<HandlerDefinition> delegates)
Creates a MultiHandlerDefinition instance with the given
delegates, which are automatically ordered based
on the @Priority annotation on their respective classes. |
static MultiHandlerDefinition |
MultiHandlerDefinition.ordered(List<HandlerDefinition> delegates,
HandlerEnhancerDefinition handlerEnhancerDefinition)
Creates a MultiHandlerDefinition instance with the given
delegates, which are automatically ordered based
on the @Priority annotation on their respective classes. |
| Constructor and Description |
|---|
MultiHandlerDefinition(HandlerDefinition... delegates)
Initializes an instance that delegates to the given
delegates, in the order provided. |
| Constructor and Description |
|---|
MultiHandlerDefinition(List<HandlerDefinition> delegates)
Initializes an instance that delegates to the given
delegates, in the order provided. |
MultiHandlerDefinition(List<HandlerDefinition> delegates,
HandlerEnhancerDefinition handlerEnhancerDefinition)
Initializes an instance that delegates to the given
delegates, in the order provided. |
| Constructor and Description |
|---|
AnnotationQueryHandlerAdapter(T target,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes the adapter, forwarding call to the given
target, resolving parameters using the given parameterResolverFactory and creating handlers using handlerDefinition. |
Copyright © 2010–2025. All rights reserved.