Class TimestampParameterResolver
java.lang.Object
io.fluxzero.sdk.tracking.handling.TimestampParameterResolver
Resolves
Instant and Clock parameters for message‑handling methods.
When a handler method declares an Instant parameter, the resolver injects the timestamp
of the current message if available. Otherwise, it supplies the current time via Fluxzero.currentTime().
For a Clock parameter, it provides a clock fixed at that timestamp if the handler method is annotated with
Apply; otherwise it supplies the clock of Fluxzero if available or else the system UTC clock.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanbooleanmatches(Parameter parameter, Annotation methodAnnotation, Object value) booleanmayApply(Executable method, Class<?> targetClass) prepare(Parameter parameter, Annotation methodAnnotation) resolve(Parameter p, Annotation methodAnnotation) default intdefault boolean
-
Constructor Details
-
TimestampParameterResolver
public TimestampParameterResolver()
-
-
Method Details
-
resolve
-
prepare
-
matches
-
mayApply
-
determinesSpecificity
default boolean determinesSpecificity() -
specificityPriority
default int specificityPriority() -
test
-