Package io.fluxzero.common.handling
package io.fluxzero.common.handling
-
ClassDescriptionDefault implementation of the
Handlerinterface.Handler<M>Represents a container for a message handler and the mechanism to resolve aHandlerInvokerfor a given message.Abstract base class forHandlerimplementations that delegate to another handler.Configuration object used to define how message handler methods are selected and filtered for a given message type.Describes the handler method that is involved in a handling operation.Represents a predicate used to determine whether a given method should be considered a valid message handler.HandlerInput<M>Provides the input for a prepared handler invocation.Optional extension ofParameterResolverfor resolving handler parameters from aHandlerInput.Describes what a resolver decided for one handler parameter.Utility for inspecting and constructing handler components from annotated methods.A matcher that encapsulates metadata and resolution logic for a single handler method or constructor.A compositeHandlerMatcherthat delegates to a list of individual matchers.Represents an invocable handler method.AHandlerInvokerthat delegates all behavior to another instance.A simple invoker backed by aCallable, typically used for test utilities or framework-internal logic.HandlerMatcher<T,M> Defines the logic to determine whether a given target object can handle a message, and how to invoke it.A reusable, target-bound handler method.AHandlerMethodthat delegates all behavior to another instance.Describes whether a handler method applies to a group of equivalent inputs and, when it does, how to invoke it.A reusable plan for invoking one already selected handler method.Selects and prepares a handler method so that the result can be reused for equivalent inputs.The outcome of trying to prepare a handler method for repeated invocation.Possible outcomes of preparing a handler method.Optional extension for dynamic parameter resolvers whose applicability can be safely reused for messages with the same low-cardinality key.Cached outcome of evaluating one resolver for one handler parameter.Defines a predicate that determines whether a given message is applicable to a handler method.Validates method invocation arguments right before a handler method is invoked.Mechanism to resolve method parameters in message handler methods (e.g. those annotated withHandleEvent,HandleCommand, etc.).Optional extension forparameter resolversthat can prepare a resolver function for a specific message in one step.Abstract base class forParameterResolvers that resolve parameters based on type matching.