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

@@ -34,6 +34,7 @@ dependencies {
testImplementation("org.skyscreamer:jsonassert")
testImplementation("org.xmlunit:xmlunit-assertj")
testImplementation("org.xmlunit:xmlunit-matchers")
testImplementation(project(":spring-core-test"))
testRuntimeOnly("com.sun.activation:jakarta.activation")
testRuntimeOnly("com.sun.xml.bind:jaxb-core")
testRuntimeOnly("com.sun.xml.bind:jaxb-impl")