| 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.eventhandling.replay | |
| org.axonframework.messaging.annotation | |
| org.axonframework.messaging.deadletter | |
| org.axonframework.queryhandling.annotation |
| Modifier and Type | Class and Description |
|---|---|
class |
CurrentUnitOfWorkParameterResolverFactory
ParameterResolverFactory that add support for the UnitOfWork parameter type in annotated handlers.
|
| Constructor and Description |
|---|
AnnotationCommandHandlerAdapter(T annotatedCommandHandler,
ParameterResolverFactory parameterResolverFactory)
Wraps the given
annotatedCommandHandler, allowing it to be subscribed to a Command Bus. |
AnnotationCommandHandlerAdapter(T annotatedCommandHandler,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Wraps the given
annotatedCommandHandler, allowing it to be subscribed to a Command Bus. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcludesBatchParameterResolverFactory
Parameter resolver factory for boolean event handler parameters annotated with
ConcludesBatch. |
class |
SequenceNumberParameterResolverFactory
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
Long type
annotated with the SequenceNumber annotation and assigns the sequenceNumber of the DomainEventMessage. |
class |
TimestampParameterResolverFactory
|
class |
TrackingTokenParameterResolverFactory
Implementation of a
ParameterResolverFactory that resolves the TrackingToken of an event message
if that message is a TrackedEventMessage. |
| Modifier and Type | Method and Description |
|---|---|
B |
SimpleEventHandlerInvoker.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameter values for annotated handlers in the
AnnotationEventHandlerAdapter this EventHandlerInvoker instantiates. |
| Constructor and Description |
|---|
AnnotationEventHandlerAdapter(Object annotatedEventListener,
ParameterResolverFactory parameterResolverFactory)
Wraps the given
annotatedEventListener, allowing it to be subscribed to an Event Bus. |
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 |
ReplayContextParameterResolverFactory
An implementation of the
ParameterResolverFactory which resolves the parameter annotated with
ReplayContext. |
class |
ReplayParameterResolverFactory
An implementation of the
ParameterResolverFactory which resolves the
ReplayStatus parameter. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAnnotatedParameterResolverFactory<A extends Annotation,P>
ParameterResolverFactory that will supply a parameter resolver when a matching parameter annotation is paired
with a suitable type of parameter.
|
class |
AggregateTypeParameterResolverFactory
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
String type that
are annotated with the AggregateType annotation and assigns the aggregate type of the
DomainEventMessage. |
class |
DefaultParameterResolverFactory
Factory for the default parameter resolvers.
|
class |
InterceptorChainParameterResolverFactory
Parameter resolver factory that adds support for resolving current
InterceptorChain. |
class |
MessageIdentifierParameterResolverFactory
An extension of the AbstractAnnotatedParameterResolverFactory that accepts parameters of a
String type that
are annotated with the MessageIdentifier annotation and assigns the identifier of the Message. |
class |
MultiParameterResolverFactory
ParameterResolverFactory instance that delegates to multiple other instances, in the order provided.
|
class |
ResultParameterResolverFactory
ParameterResolverFactory that provides support for Parameters where the result of Handler execution is expected to
be injected.
|
class |
ScopeDescriptorParameterResolverFactory
Factory for a
ScopeDescriptor ParameterResolver. |
class |
SimpleResourceParameterResolverFactory
A
ParameterResolverFactory implementation for simple resource injections. |
class |
SourceIdParameterResolverFactory
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterResolverFactory |
ClasspathParameterResolverFactory.forClass(Class<?> clazz)
Creates an instance for the given
clazz. |
static ParameterResolverFactory |
ClasspathParameterResolverFactory.forClassLoader(ClassLoader classLoader)
Creates an instance using the given
classLoader. |
| Modifier and Type | Method and Description |
|---|---|
List<ParameterResolverFactory> |
MultiParameterResolverFactory.getDelegates()
Returns the delegates of this instance, in the order they are evaluated to resolve parameters.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<MessageHandlingMember<T>> |
HandlerDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory)
Create a
MessageHandlingMember for the given executable method. |
<T> Optional<MessageHandlingMember<T>> |
MultiHandlerDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
<T> Optional<MessageHandlingMember<T>> |
AnnotatedMessageHandlingMemberDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
static <T> AnnotatedHandlerInspector<T> |
AnnotatedHandlerInspector.inspectType(Class<? extends T> handlerType,
ParameterResolverFactory parameterResolverFactory)
Create an inspector for given
handlerType that uses given parameterResolverFactory to resolve
method parameters. |
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 MultiParameterResolverFactory |
MultiParameterResolverFactory.ordered(ParameterResolverFactory... delegates)
Creates a MultiParameterResolverFactory 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 MultiParameterResolverFactory |
MultiParameterResolverFactory.ordered(List<ParameterResolverFactory> delegates)
Creates a MultiParameterResolverFactory instance with the given
delegates, which are automatically
ordered based on the @Priority annotation on their respective classes. |
| Constructor and Description |
|---|
AnnotatedMessageHandlingMember(Executable executable,
Class<? extends Message> messageType,
Class<?> explicitPayloadType,
ParameterResolverFactory parameterResolverFactory)
Initializes a new instance that will invoke the given
executable (method) on a target to handle a message
of the given messageType. |
MultiParameterResolverFactory(ParameterResolverFactory... delegates)
Initializes an instance that delegates to the given
delegates, in the order provided. |
| Constructor and Description |
|---|
MultiParameterResolverFactory(List<ParameterResolverFactory> delegates)
Initializes an instance that delegates to the given
delegates, in the order provided. |
| Modifier and Type | Class and Description |
|---|---|
class |
DeadLetterParameterResolverFactory
A
ParameterResolverFactory constructing a ParameterResolver resolving the DeadLetter that is
being processed. |
| Constructor and Description |
|---|
AnnotationQueryHandlerAdapter(T target,
ParameterResolverFactory parameterResolverFactory)
Initializes the adapter, forwarding call to the given
target, resolving parameters using the given parameterResolverFactory. |
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.