Polish "Add support for Async invocation in a native image"

This registers the hints if the annotation post processor is active,
rather than statically.

See gh-28710
This commit is contained in:
Stephane Nicoll
2022-08-12 17:43:48 +02:00
parent 0229cc45a0
commit 6ba31acf35
3 changed files with 15 additions and 40 deletions

View File

@@ -1,5 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar= \
org.springframework.scheduling.annotation.SchedulingRuntimeHints
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor= \
org.springframework.context.aot.ReflectiveProcessorBeanRegistrationAotProcessor