Uses of Interface
io.fluxzero.common.handling.ParameterResolver
Packages that use ParameterResolver
Package
Description
-
Uses of ParameterResolver in io.fluxzero.common.handling
Classes in io.fluxzero.common.handling that implement ParameterResolverModifier and TypeClassDescriptionclassAbstract base class forParameterResolvers that resolve parameters based on type matching.Method parameters in io.fluxzero.common.handling with type arguments of type ParameterResolverModifier and TypeMethodDescriptionstatic <M> Handler<M> HandlerInspector.createHandler(Object target, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers) Creates aHandlerbacked by a target supplier and parameter resolvers.static <M> Handler<M> HandlerInspector.createHandler(Object target, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration<? super M> config) Creates aHandlerbacked by a target supplier and parameter resolvers.static <M> Handler<M> HandlerInspector.createHandler(Function<M, ?> targetSupplier, Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration<? super M> config) Creates aHandlerbacked by a target supplier and parameter resolvers.static <M> HandlerMatcher<Object, M> HandlerInspector.inspect(Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration<? super M> config) Inspects the given class for methods matching the specified annotation and builds aHandlerMatcher.static <M> HandlerMatcher<Object, M> HandlerInspector.inspect(Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, Class<? extends Annotation> methodAnnotation) Inspects the given class for methods matching the specified annotation and builds aHandlerMatcher.Constructor parameters in io.fluxzero.common.handling with type arguments of type ParameterResolverModifierConstructorDescriptionMethodHandlerMatcher(Executable executable, Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, @NonNull HandlerConfiguration<? super M> config) -
Uses of ParameterResolver in io.fluxzero.sdk.configuration
Methods in io.fluxzero.sdk.configuration that return types with arguments of type ParameterResolverModifier and TypeMethodDescriptionList<ParameterResolver<? super DeserializingMessage>> FluxzeroConfiguration.customParameterResolvers()Returns additional resolvers for injecting parameters into message handler methods.Methods in io.fluxzero.sdk.configuration with parameters of type ParameterResolverModifier and TypeMethodDescriptionDefaultFluxzero.Builder.addParameterResolver(@NonNull ParameterResolver<? super DeserializingMessage> parameterResolver) FluxzeroBuilder.addParameterResolver(ParameterResolver<? super DeserializingMessage> parameterResolver) Registers aParameterResolverto support injection of method arguments in handlers.Method parameters in io.fluxzero.sdk.configuration with type arguments of type ParameterResolverModifier and TypeMethodDescriptionprotected GenericGatewayDefaultFluxzero.Builder.createRequestGateway(Client client, MessageType messageType, String topic, RequestHandler requestHandler, Map<MessageType, DispatchInterceptor> dispatchInterceptors, Map<MessageType, HandlerDecorator> handlerDecorators, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, Function<Class<?>, HandlerRepository> handlerRepositorySupplier, RepositoryProvider repositoryProvider, ResponseMapper responseMapper) protected HandlerRegistryDefaultFluxzero.Builder.localHandlerRegistry(MessageType messageType, Map<MessageType, HandlerDecorator> handlerDecorators, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, Map<MessageType, DispatchInterceptor> dispatchInterceptors, Function<Class<?>, HandlerRepository> handlerRepositorySupplier, RepositoryProvider repositoryProvider) -
Uses of ParameterResolver in io.fluxzero.sdk.configuration.spring
Classes in io.fluxzero.sdk.configuration.spring that implement ParameterResolverModifier and TypeClassDescriptionclassResolves handler method parameters annotated withAutowiredfrom the Spring application context. -
Uses of ParameterResolver in io.fluxzero.sdk.modeling
Classes in io.fluxzero.sdk.modeling that implement ParameterResolverModifier and TypeClassDescriptionclassResolves handler method parameters that reference anEntityor the entity's value.Constructor parameters in io.fluxzero.sdk.modeling with type arguments of type ParameterResolverModifierConstructorDescriptionDefaultEntityHelper(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, boolean disablePayloadValidation) Creates a new helper using the given parameter resolvers and configuration. -
Uses of ParameterResolver in io.fluxzero.sdk.tracking.handling
Classes in io.fluxzero.sdk.tracking.handling that implement ParameterResolverModifier and TypeClassDescriptionclassResolves handler method parameters by simply injecting the input if the parameter type is assignable from the input type.classAParameterResolverthat converts the message payload to the parameter's declared type if that type is assignable toJsonNode.classResolves handler method parameters of typeDeserializingMessage.classResolves handler method parameters of typeMetadata.classResolves handler method parameters by injecting the message payload.classResolves parameters annotated withTriggerby loading the original trigger message that caused the current handler method to execute.Constructor parameters in io.fluxzero.sdk.tracking.handling with type arguments of type ParameterResolverModifierConstructorDescriptionDefaultHandlerFactory(MessageType messageType, HandlerDecorator defaultDecorator, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, Function<Class<?>, HandlerRepository> handlerRepositorySupplier, RepositoryProvider repositoryProvider) -
Uses of ParameterResolver in io.fluxzero.sdk.tracking.handling.authentication
Classes in io.fluxzero.sdk.tracking.handling.authentication that implement ParameterResolver -
Uses of ParameterResolver in io.fluxzero.sdk.web
Classes in io.fluxzero.sdk.web that implement ParameterResolverModifier and TypeClassDescriptionclassResolves method parameters in web handler methods based on meta-annotations derived fromWebParam.classResolves a method parameter from the payload of aWebRequest.classDecorator that adds WebSocket session support to handler classes and enables parameter injection forSocketSession.Method parameters in io.fluxzero.sdk.web with type arguments of type ParameterResolverModifier and TypeMethodDescriptionprotected static WebHandlerMatcherWebHandlerMatcher.create(Object handler, Class<?> type, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, HandlerConfiguration<DeserializingMessage> config) static WebHandlerMatcherWebHandlerMatcher.create(Object handler, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, HandlerConfiguration<DeserializingMessage> config)