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
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.
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.[1] https://github.com/SpringSource/spring-framework/blob/v3.2.3.RELEASE/spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassUtils.java#L103
Affects: 3.2.3
Sub-tasks:
@Component
instances as@Configuration
candidatesIssue Links:
@Bean
introspection between@Configuration
classes and 'lite' beansThe text was updated successfully, but these errors were encountered: