spring-framework/spring-beans
Stephane Nicoll 735051bf7d Resolve infer destroy method at build-time
This commit allows a RootBeanDefinition to resolve its infer destroy
method if necessary. Contrary to BeanInstanceAdapter that uses the
actual bean instance, the new method works against the type exposed
in the bean definition.

The AOT contribution of InitDestroyAnnotationBeanPostProcessor uses
the new method to make sure the special '(inferred)' placeholder is
handled prior to code generation.

Closes gh-28215
2022-07-27 11:48:13 +02:00
..
src Resolve infer destroy method at build-time 2022-07-27 11:48:13 +02:00
spring-beans.gradle Update bean registration contribution tests to use TestCompiler 2022-03-10 16:06:52 +01:00