Commit ff7c66c0 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix annotation() javadoc

parent 5d9efe40
......@@ -55,8 +55,9 @@ public @interface ConditionalOnBean {
/**
* The annotation type decorating a bean that should be checked. The condition matches
* when each class specified is missing from beans in the {@link ApplicationContext}.
* @return the class types of beans to check
* when any of the annotations specified is defined on a bean in the
* {@link ApplicationContext}.
* @return the class-level annotation types to check
*/
Class<? extends Annotation>[] annotation() default {};
......
......@@ -55,9 +55,9 @@ public @interface ConditionalOnMissingBean {
/**
* The annotation type decorating a bean that should be checked. The condition matches
* when each class specified is missing from all beans in the
* when each annotation specified is missing from all beans in the
* {@link ApplicationContext}.
* @return the class types of beans to check
* @return the class-level annotation types to check
*/
Class<? extends Annotation>[] annotation() default {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment