Add native support for RSocketExchange.

This commit introduces new AOT processors that look for
`@RSocketExchange` annotated methods on interfaces implemented by beans
and registers reachability metadata accordingly:

* JDK proxies for the beans themselves
* invocation reflection for annotated methods
* binding reflection for arguments and return types

This allows to compile such clients to Native Images.

Closes gh-29877
This commit is contained in:
Olga Maciaszek-Sharma
2023-01-23 18:29:25 +01:00
committed by Brian Clozel
parent 06fd6ecf1f
commit 4beb05ddb3
7 changed files with 404 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor=\
org.springframework.messaging.rsocket.service.RSocketExchangeBeanRegistrationAotProcessor