mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
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:
+2
-2
@@ -50,13 +50,13 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
|
||||
/**
|
||||
* Tests for {@link ScopedProxyBeanRegistrationCodeFragmentsCustomizer}.
|
||||
* Tests for {@link ScopedProxyBeanRegistrationAotProcessor}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Phillip Webb
|
||||
* @since 6.0
|
||||
*/
|
||||
class ScopedProxyBeanRegistrationCodeFragmentsCustomizerTests {
|
||||
class ScopedProxyBeanRegistrationAotProcessorTests {
|
||||
|
||||
private DefaultListableBeanFactory beanFactory;
|
||||
|
||||
Reference in New Issue
Block a user