Javadoc that @Conditionals are not inherited

Issue: SPR-10840
master
Phillip Webb 11 years ago
parent ced5ea2f93
commit 89b53cfcd5
  1. 3
      spring-context/src/main/java/org/springframework/context/annotation/Conditional.java

@ -41,6 +41,9 @@ import java.lang.annotation.Target;
* {@code @Bean} methods and {@link Import @Import} annotations associated with that class * {@code @Bean} methods and {@link Import @Import} annotations associated with that class
* will be subject to the conditions. * 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 * @author Phillip Webb
* @since 4.0 * @since 4.0
* @see Condition * @see Condition

Loading…
Cancel
Save