Package | Description |
---|---|
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.deadline.annotation | |
org.axonframework.eventhandling.replay | |
org.axonframework.messaging.annotation | |
org.axonframework.modelling.command.inspection | |
org.axonframework.modelling.saga | |
org.axonframework.modelling.saga.metamodel | |
org.axonframework.queryhandling.annotation | |
org.axonframework.tracing |
Modifier and Type | Interface and Description |
---|---|
interface |
CommandMessageHandlingMember<T>
Interface describing a message handler capable of handling a specific command.
|
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodCommandHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodCommandHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Interface and Description |
---|---|
interface |
DeadlineHandlingMember<T>
Interface describing a message handler capable of handling a specific deadline.
|
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
DeadlineMethodMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
DeadlineMethodMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
ReplayAwareMessageHandlerWrapper.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
ReplayAwareMessageHandlerWrapper.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Interface and Description |
---|---|
interface |
MessageInterceptingMember<T>
Marker interface for
MessageHandlingMember instances that need to be treated as interceptors, rather
than regular members. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedMessageHandlingMember<T>
Implementation of a
MessageHandlingMember that is used to invoke message handler methods on the target type. |
class |
WrappedMessageHandlingMember<T>
Abstract implementation of a
MessageHandlingMember that delegates to a wrapped MessageHandlingMember. |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MultiHandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MessageHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
HandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original)
Enhance the given
original handler. |
Modifier and Type | Method and Description |
---|---|
<T> Optional<MessageHandlingMember<T>> |
MultiHandlerDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
<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>> |
AnnotatedMessageHandlingMemberDefinition.createHandler(Class<T> declaringType,
Executable executable,
ParameterResolverFactory parameterResolverFactory) |
Map<Class<?>,SortedSet<MessageHandlingMember<? super T>>> |
AnnotatedHandlerInspector.getAllHandlers()
Gets all handlers per type for inspected entity.
|
Map<Class<?>,SortedSet<MessageHandlingMember<? super T>>> |
AnnotatedHandlerInspector.getAllInterceptors()
Returns a Map of all registered interceptor methods per inspected type.
|
List<MessageHandlingMember<? super T>> |
AnnotatedHandlerInspector.getHandlers()
Deprecated.
|
Stream<MessageHandlingMember<? super T>> |
AnnotatedHandlerInspector.getHandlers(Class<?> type)
Returns a list of detected members of given
type that are capable of handling certain messages. |
static Comparator<MessageHandlingMember<?>> |
HandlerComparator.instance()
Returns the singleton comparator managed by the HandlerComparator class.
|
Modifier and Type | Method and Description |
---|---|
Object |
NoMoreInterceptors.handle(Message<?> message,
T target,
MessageHandlingMember<? super T> handler) |
Object |
MessageHandlerInterceptorMemberChain.handle(Message<?> message,
T target,
MessageHandlingMember<? super T> handler)
Handle the given
message by passing it through the interceptors and ultimately to the given
handler on the given target instance. |
<T> MessageHandlingMember<T> |
MultiHandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MessageHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
HandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original)
Enhance the given
original handler. |
Constructor and Description |
---|
WrappedMessageHandlingMember(MessageHandlingMember<T> delegate)
Initializes the member using the given
delegate . |
Modifier and Type | Interface and Description |
---|---|
interface |
CommandHandlerInterceptorHandlingMember<T>
Deprecated.
in favor of the more generic
MessageInterceptingMember |
interface |
CreationPolicyMember<T>
Interface specifying a message handler containing a creation policy definition.
|
interface |
ForwardingCommandMessageHandlingMember<T>
Interface describing a message handler capable of forwarding a specific command.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildForwardingCommandMessageHandlingMember<P,C>
Implementation of a
CommandMessageHandlingMember that forwards commands to a child entity. |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodCreationPolicyDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MethodCommandHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
default Map<Class<?>,List<MessageHandlingMember<? super T>>> |
EntityModel.allCommandHandlerInterceptors()
Gets all command handler interceptors per type in this aggregate hierarchy.
|
default Map<Class<?>,List<MessageHandlingMember<? super T>>> |
EntityModel.allCommandHandlers()
Gets all command handlers per type in this aggregate hierarchy.
|
default Map<Class<?>,List<MessageHandlingMember<? super T>>> |
EntityModel.allEventHandlers()
Gets all event handlers per type in this aggregate hierarchy.
|
default List<MessageHandlingMember<? super T>> |
EntityModel.commandHandlerInterceptors()
Deprecated.
|
default Stream<MessageHandlingMember<? super T>> |
EntityModel.commandHandlerInterceptors(Class<? extends T> type)
Gets command handler interceptors for provided
type in this aggregate hierarchy. |
default List<MessageHandlingMember<? super T>> |
EntityModel.commandHandlers()
Deprecated.
|
List<MessageHandlingMember<? super T>> |
ChildEntity.commandHandlers()
Returns the command handlers declared in this entity.
|
List<MessageHandlingMember<? super P>> |
AnnotatedChildEntity.commandHandlers() |
default Stream<MessageHandlingMember<? super T>> |
EntityModel.commandHandlers(Class<? extends T> type)
Gets command handlers for provided
type in this aggregate hierarchy. |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodCreationPolicyDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MethodCommandHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
Constructor and Description |
---|
AnnotatedCommandHandlerInterceptor(MessageHandlingMember<T> delegate,
T target)
Initializes annotated command handler interceptor with delegate handler and target on which handler is to be
invoked.
|
ChildForwardingCommandMessageHandlingMember(List<MessageHandlingMember<? super C>> childHandlerInterceptors,
MessageHandlingMember<? super C> childHandler,
BiFunction<CommandMessage<?>,P,C> childEntityResolver)
Initializes a
ChildForwardingCommandMessageHandlingMember that routes commands to a compatible child
entity. |
Constructor and Description |
---|
ChildForwardingCommandMessageHandlingMember(List<MessageHandlingMember<? super C>> childHandlerInterceptors,
MessageHandlingMember<? super C> childHandler,
BiFunction<CommandMessage<?>,P,C> childEntityResolver)
Initializes a
ChildForwardingCommandMessageHandlingMember that routes commands to a compatible child
entity. |
Modifier and Type | Class and Description |
---|---|
static class |
EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember<T>
A
WrappedMessageHandlingMember implementation dedicated towards MessageHandlingMember s annotated
with EndSaga . |
class |
SagaMethodMessageHandlingMember<T>
A data holder containing information of
SagaEventHandler annotated methods. |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
SagaMethodMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
EndSagaMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> Object |
PayloadAssociationResolver.resolve(String associationPropertyName,
EventMessage<?> message,
MessageHandlingMember<T> handler)
Finds the association property value in the message's payload.
|
<T> Object |
MetaDataAssociationResolver.resolve(String associationPropertyName,
EventMessage<?> message,
MessageHandlingMember<T> handler)
Finds the association property value by looking up the association property name in the event message's
MetaData . |
<T> Object |
AssociationResolver.resolve(String associationPropertyName,
EventMessage<?> message,
MessageHandlingMember<T> handler)
Resolves the associationPropertyName as a value.
|
<T> void |
PayloadAssociationResolver.validate(String associationPropertyName,
MessageHandlingMember<T> handler)
Validates that the association property name exists as checked with the payload type.
|
<T> void |
MetaDataAssociationResolver.validate(String associationPropertyName,
MessageHandlingMember<T> handler)
Does nothing because we can only check for existence of property in the metadata during event handling.
|
<T> void |
AssociationResolver.validate(String associationPropertyName,
MessageHandlingMember<T> handler)
Validates that the associationPropertyName supplied is compatible with the handler.
|
<T> MessageHandlingMember<T> |
SagaMethodMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
EndSagaMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Constructor and Description |
---|
EndSageMessageHandlingMember(MessageHandlingMember<T> delegate)
Initializes the member using the given
delegate . |
SagaMethodMessageHandlingMember(MessageHandlingMember<T> delegate,
SagaCreationPolicy creationPolicy,
String associationKey,
String associationPropertyName,
AssociationResolver associationResolver)
Creates a SagaMethodMessageHandler.
|
Modifier and Type | Method and Description |
---|---|
List<MessageHandlingMember<? super T>> |
SagaModel.findHandlerMethods(EventMessage<?> event)
Returns a
List of MessageHandlingMember that can handle the given event. |
Modifier and Type | Interface and Description |
---|---|
interface |
QueryHandlingMember<T>
Interface indicating that a MessageHandlingMember is capable of handling specific query messages.
|
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodQueryMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodQueryMessageHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
TracingHandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
TracingHandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Copyright © 2010–2024. All rights reserved.