Class MessageParameterResolver
java.lang.Object
io.fluxzero.sdk.tracking.handling.MessageParameterResolver
Resolves handler method parameters of type
DeserializingMessage.
This allows handler methods to access the deserialization context, including message metadata, payload, and raw serialized content.
Useful when advanced information about the message is needed, such as the Fluxzero-assigned message index.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault booleangetInputCacheKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) booleanisNoMatchPayloadClassKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) booleanisPayloadClassKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) booleanmatches(Parameter parameter, Annotation methodAnnotation, Object value) booleanmayApply(Executable method, Class<?> targetClass) prepare(Parameter parameter, Annotation methodAnnotation) io.fluxzero.common.handling.HandlerInputResolver.Resolution<Object> prepareInput(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) resolve(Parameter p, Annotation methodAnnotation) resolveIfPossible(Parameter parameter, Annotation methodAnnotation, Object value) default intdefault boolean
-
Constructor Details
-
MessageParameterResolver
public MessageParameterResolver()
-
-
Method Details
-
resolve
-
prepare
-
resolveIfPossible
-
matches
-
mayApply
-
getInputCacheKey
public Object getInputCacheKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) -
isPayloadClassKey
public boolean isPayloadClassKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) -
isNoMatchPayloadClassKey
public boolean isNoMatchPayloadClassKey(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) -
prepareInput
public io.fluxzero.common.handling.HandlerInputResolver.Resolution<Object> prepareInput(Parameter parameter, Annotation methodAnnotation, io.fluxzero.common.handling.HandlerInput<Object> representative) -
determinesSpecificity
default boolean determinesSpecificity() -
specificityPriority
default int specificityPriority() -
test
-