Abstract Handler Method
public abstract class AbstractHandlerMethod<T, M extends Message, C extends MessageClass<M>, E extends MessageEnvelope<? extends Object, ? extends Signal<?, ?, ?>, ? extends Object>, R extends MessageClass<?>> implements HandlerMethod<T, C, E, R>
An abstract base for wrappers over methods handling messages.
Two message handlers are equivalent when they refer to the same method on the same object (not class).
Parameters
<T>
the type of the target object
<M>
the type of the message handled by this method
<C>
the type of the message class
<E>
the type of message envelopes, in which the messages to handle are wrapped
<R>
the type of the produced message classes
Inheritors
Functions
Link copied to clipboard
Obtains the set of method attributes configured for this method.
Link copied to clipboard
Obtains a set of functions for getting method attributes by a raw method value.
Link copied to clipboard
Allows to make sure that the passed envelope matches the annotation attributes of a method.
Link copied to clipboard
Initializes attributes by obtaining values via functions provided by attributeSuppliers.
Link copied to clipboard
Returns the class of the first parameter of the passed handler method object.
Link copied to clipboard
Returns a full name of the handler method.
Link copied to clipboard
Link copied to clipboard
Obtains the specification of parameters for this method.
Link copied to clipboard
Obtains parameters of the method.
Link copied to clipboard
Retrieves the message classes produced by this handler method.
Link copied to clipboard
Inherited functions
Link copied to clipboard
Ensures that the
external
attribute of the method is the one expected.Link copied to clipboard
Tells if the passed method is domestic, that is not marked as external).
Link copied to clipboard
Tells if the passed method is external.
Link copied to clipboard
Creates a handler method dispatch key out of the message class.
Link copied to clipboard
Obtains the type of the incoming message class.
Link copied to clipboard
Converts the raw method result to a successful propagation outcome.