Class TimeParameterResolver
java.lang.Object
io.fluxzero.sdk.tracking.handling.TimeParameterResolver
The TimeParameterResolver class implements the ParameterResolver interface to resolve parameters of type
Instant and Clock in message handler methods.
This resolver is capable of injecting values into handler method parameters based on the message being processed.
It supports two types of parameters: 1. Instant: Resolved to the timestamp of the current message. 2.
Clock: Resolved to a fixed Clock instance with the current message's timestamp in UTC.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanbooleanmatches(Parameter parameter, Annotation methodAnnotation, Object value) booleanmayApply(Executable method, Class<?> targetClass) resolve(Parameter p, Annotation methodAnnotation) default boolean
-
Constructor Details
-
TimeParameterResolver
public TimeParameterResolver()
-
-
Method Details
-
resolve
-
matches
-
mayApply
-
determinesSpecificity
default boolean determinesSpecificity() -
test
-