spring-framework/spring-context
Stéphane Nicoll 13679bb906 Reject use of component scan with REGISTER_BEAN condition
This commit introduce a change of behaviour when component scan is used
with conditions. Previously, any condition in the REGISTER_BEAN phase
were ignored and the scan was applied regardless of the outcome of
those conditions. This is because REGISTER_BEAN condition evaluation
happens later in the bean factory preparation.

Rather than ignoring those conditions, this commit fails fast when it
detects such use case. Code will have to be adapted accordingly.

Closes gh-23206
2024-03-12 08:39:53 +01:00
..
src Reject use of component scan with REGISTER_BEAN condition 2024-03-12 08:39:53 +01:00
.springBeans
spring-context.gradle Add ThreadLocalAccessor for LocaleContext and RequestAttributes 2024-02-15 15:49:55 +01:00