Annotation Interface ImportRuntimeHints


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented public @interface ImportRuntimeHints
Indicates that one or more RuntimeHintsRegistrar implementations should be processed.

Unlike declaring RuntimeHintsRegistrar as spring/aot.factories, @ImportRuntimeHints allows for more flexible use cases where registrations are only processed if the annotated configuration class or bean method is considered by the application context.

Since:
6.0
Author:
Brian Clozel
See Also: