Javadoc that @Conditionals are not inherited

Issue: SPR-10840
This commit is contained in:
Phillip Webb 2013-08-27 10:48:38 -07:00
parent ced5ea2f93
commit 89b53cfcd5
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ import java.lang.annotation.Target;
* {@code @Bean} methods and {@link Import @Import} annotations associated with that class
* will be subject to the conditions.
*
* <p>NOTE: {@code @Conditional} annotations are not inherited, any conditions from
* super-classes or from overridden methods are not considered.
*
* @author Phillip Webb
* @since 4.0
* @see Condition