Merge pull request #43826 from quaff
* pr/43826: Improve ConditionalOnSingleCandidate's Javadoc Closes gh-43826
This commit is contained in:
commit
1fed765a4c
|
|
@ -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()}.
|
||||
|
|
|
|||
Loading…
Reference in New Issue