Modifier and Type | Interface and Description |
---|---|
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> |
MethodCommandHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Modifier and Type | Method and Description |
---|---|
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> |
MethodCommandHandlerDefinition.wrapHandler(MessageHandlingMember<T> original) |
Constructor and Description |
---|
ChildForwardingCommandMessageHandlingMember(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 |
---|---|
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 | 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> |
HandlerEnhancerDefinition.wrapHandler(MessageHandlingMember<T> original)
Enhance the given
original handler. |
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>> |
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> |
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–2017. All rights reserved.