Modifier and Type | Interface and Description |
---|---|
interface |
CommandHandlerInterceptorHandlingMember<T>
Interface specifying a message handler capable of intercepting a command.
|
interface |
CommandMessageHandlingMember<T>
Interface describing a message handler capable of handling 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 |
---|---|
MessageHandlingMember<? super T> |
ModelInspector.commandHandler(String commandName)
Deprecated.
|
default MessageHandlingMember<? super T> |
EntityModel.commandHandler(String commandName)
Get the
MessageHandlingMember capable of handling commands with given commandName (see CommandMessage.getCommandName() ). |
<T> MessageHandlingMember<T> |
MethodCommandHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MethodCommandHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
List<MessageHandlingMember<? super T>> |
ModelInspector.commandHandlerInterceptors()
Deprecated.
|
List<MessageHandlingMember<? super T>> |
EntityModel.commandHandlerInterceptors()
Gets a list of command handler interceptors for this entity.
|
Map<String,MessageHandlingMember<? super T>> |
ModelInspector.commandHandlers()
Deprecated.
|
Map<String,MessageHandlingMember<? super T>> |
EntityModel.commandHandlers()
Get a mapping of
MessageHandlingMember to command name (obtained via CommandMessage.getCommandName() ). |
Map<String,MessageHandlingMember<? super T>> |
ChildEntity.commandHandlers()
Returns the commands and their respective handler that this entity declares
|
Map<String,MessageHandlingMember<? super P>> |
AnnotatedChildEntity.commandHandlers() |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
MethodCommandHandlerInterceptorDefinition.wrapHandler(MessageHandlingMember<T> original) |
<T> MessageHandlingMember<T> |
MethodCommandHandlerDefinition.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 | 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 | Class and Description |
---|---|
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) |
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) |
Constructor and Description |
---|
SagaMethodMessageHandlingMember(MessageHandlingMember<T> delegate,
SagaCreationPolicy creationPolicy,
String associationKey,
String associationPropertyName,
AssociationResolver associationResolver,
boolean endingHandler)
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 | 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> |
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) |
List<MessageHandlingMember<? super T>> |
AnnotatedHandlerInspector.getHandlers()
Returns a list of detected members of the inspected entity 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 |
---|---|
<T> MessageHandlingMember<T> |
MultiHandlerEnhancerDefinition.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 |
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) |
Copyright © 2010–2018. All rights reserved.