Closed
Description
Phil Webb opened SPR-10609 and commented
Any @Component
is currently considered as a lite configuration class option [1]. It would probably make more sense to restrict lite configuration classes to only those containing @Bean
methods.
Affects: 3.2.3
Sub-tasks:
- Backport: Do not consider all @Component instances as @Configuration candidates [SPR-10626] #15254 Backport: Do not consider all
@Component
instances as@Configuration
candidates
Issue Links:
- Revisit @Bean introspection between @Configuration classes and 'lite' beans [SPR-17206] #21739 Revisit
@Bean
introspection between@Configuration
classes and 'lite' beans