Add a way to register the need for runtime reflection, resources, proxying, and serialization on components #27829
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Spring Native has a component called
NativeConfigurationRegistry
that offers a programmatic API to register the need for reflection, resources that are to be shipped in the native image, proxies as well as classes that should beSerializable
.We'd like to revisit this contract and make less native specific as we believe that such information could be useful elsewhere.
Such an infrastructure could land in
spring-core
as it is rather high-level and focused on classes and resources. The actual processing of the registry, for instance, to write GraalVM-specific configuration files is not in the scope of this issue.The text was updated successfully, but these errors were encountered: