Event Handler Method
public abstract class EventHandlerMethod<T, R extends MessageClass<?>> extends AbstractHandlerMethod<T, M, C, E, R> implements RejectionHandler<T, R>
An abstract base for methods handling events.
Parameters
<T>
the type of the target object
<R>
the type of the produced message classes
Inheritors
Functions
Link copied to clipboard
Ensures that the passed event matches the
external
attribute of the method annotation.Link copied to clipboard
Creates a handler method dispatch key out of the message class.
Link copied to clipboard
Obtains the specification of parameters for this method.
Link copied to clipboard
Obtains parameters of the method.
Inherited 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
Initializes attributes by obtaining values via functions provided by attributeSuppliers.
Link copied to clipboard
Ensures that the
external
attribute of the method is the one expected.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
Tells whether the handler method is for a rejection.
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
Obtains the type of the incoming message class.
Link copied to clipboard
Retrieves the message classes produced by this handler method.
Link copied to clipboard
Link copied to clipboard
Converts the raw method result to a successful propagation outcome.