Top Description Fields Constructors Methods
org.springframework.messaging.rsocket.service

pack-priv Class RSocketExchangeReflectiveProcessor

extends Object
implements ReflectiveProcessor
Class Inheritance
All Implemented Interfaces
org.springframework.aot.hint.annotation.ReflectiveProcessor
Imports
java.lang.reflect.AnnotatedElement, .Method, .Parameter, org.springframework.aot.hint.BindingReflectionHintsRegistrar, .ExecutableMode, .ReflectionHints, org.springframework.aot.hint.annotation.ReflectiveProcessor, org.springframework.core.MethodParameter

A ReflectiveProcessor implementation for @RSocketExchange annotated methods. In addition to registering reflection hints for invoking the annotated method, this implementation handles reflection-based binding for return types and parameters.
Authors
Sebastien Deleuze, Olga Maciaszek-Sharma
Since
6.0.5
See Also
org.springframework.web.service.annotation.HttpExchangeReflectiveProcessor

Field Summary

Modifier and TypeField and Description
private final BindingReflectionHintsRegistrar

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
public void
registerReflectionHints(ReflectionHints
the reflection hints instance to use
hints
,
AnnotatedElement
the element to process
element
)

Implements org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Register ReflectionHints against the specified AnnotatedElement.

protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindingRegistrarback to summary
private final BindingReflectionHintsRegistrar bindingRegistrar

Constructor Detail

RSocketExchangeReflectiveProcessorback to summary
pack-priv RSocketExchangeReflectiveProcessor()

Method Detail

registerMethodHintsback to summary
protected void registerMethodHints(ReflectionHints hints, Method method)
registerReflectionHintsback to summary
public void registerReflectionHints(ReflectionHints hints, AnnotatedElement element)

Implements org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Doc from org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Register ReflectionHints against the specified AnnotatedElement.

Parameters
hints:ReflectionHints

the reflection hints instance to use

element:AnnotatedElement

the element to process

Annotations
@Override
registerReturnTypeHintsback to summary
protected void registerReturnTypeHints(ReflectionHints hints, MethodParameter returnTypeParameter)