You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Previously, BuildTimeBeanDefinitionsRegistrar was adding configuration
class parsing manually and triggered it to build the list of bean
definitions. Only certain framework callbacks were invoked.
This commit harmonizes its processing so that it is as close as possible
to what the regular runtime context would do. As a result, additional
callbacks are invoked at build time which had a subtle impact on how
bean definition types were discovered. To alleviate with that,
BeanClassBeanDefinitionPostProcessor makes sure to resolve the bean
class early if necessary.
Closesgh-1213
Copy file name to clipboardexpand all lines: spring-aot/src/main/java/org/springframework/aot/context/bootstrap/generator/DefaultBeanDefinitionSelector.java
+3
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,9 @@ public DefaultBeanDefinitionSelector(List<String> excludeTypes) {
49
49
// TODO Make a better split between the AOT and runtime parts otherwise too much reflection is required, so for now @Autowired on fields/setters and event listeners are not properly supported
Copy file name to clipboardexpand all lines: spring-aot/src/test/java/org/springframework/aot/context/bootstrap/generator/event/EventListenerMethodRegistrationGeneratorTests.java
Copy file name to clipboardexpand all lines: spring-aot/src/test/java/org/springframework/aot/context/bootstrap/generator/infrastructure/BootstrapInfrastructureWriterTests.java
Copy file name to clipboardexpand all lines: spring-aot/src/test/java/org/springframework/aot/context/bootstrap/generator/test/ApplicationContextAotProcessorTester.java
Copy file name to clipboardexpand all lines: spring-aot/src/test/java/org/springframework/boot/autoconfigure/AutoConfigurationPackagesBeanDefinitionOriginAnalyzerTests.java
0 commit comments