Merge branch '3.4.x'
Closes gh-43834
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
* Copyright 2012-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ public @interface ConditionalOnSingleCandidate {
|
||||
* The class type of bean that should be checked. The condition matches if a bean of
|
||||
* the class specified is contained in the {@link BeanFactory} and a primary candidate
|
||||
* exists in case of multiple instances. Beans that are not autowire candidates or
|
||||
* that are not default candidates are ignored.
|
||||
* that are not default candidates or that are fallback candidates are ignored.
|
||||
* <p>
|
||||
* This attribute may <strong>not</strong> be used in conjunction with
|
||||
* {@link #type()}, but it may be used instead of {@link #type()}.
|
||||
@@ -71,7 +71,8 @@ public @interface ConditionalOnSingleCandidate {
|
||||
* The class type name of bean that should be checked. The condition matches if a bean
|
||||
* of the class specified is contained in the {@link BeanFactory} and a primary
|
||||
* candidate exists in case of multiple instances. Beans that are not autowire
|
||||
* candidates or that are not default candidates are ignored.
|
||||
* candidates or that are not default candidates or that are fallback candidates are
|
||||
* ignored.
|
||||
* <p>
|
||||
* This attribute may <strong>not</strong> be used in conjunction with
|
||||
* {@link #value()}, but it may be used instead of {@link #value()}.
|
||||
|
||||
Reference in New Issue
Block a user