Allow AOT contributions to customize code fragments.

Update the `BeanRegistrationAotContribution` interface to allow
it to customize `BeanRegistrationCodeFragments`. This change
allows us to drop the `BeanRegistrationCodeFragmentsCustomizer`
interface since an `BeanRegistrationAotProcessor` can now be
used instead.

Closes gh-28557
This commit is contained in:
Phillip Webb
2022-06-02 14:51:22 -07:00
parent 74caa9213a
commit 8d79ec0b67
11 changed files with 143 additions and 156 deletions

View File

@@ -1,2 +1,2 @@
org.springframework.beans.factory.aot.registration.BeanRegistrationCodeFragmentsCustomizer=\
org.springframework.aop.scope.ScopedProxyBeanRegistrationCodeFragmentsCustomizer
org.springframework.beans.factory.aot.registration.BeanRegistrationAotProcessor=\
org.springframework.aop.scope.ScopedProxyBeanRegistrationAotProcessor