Deprecate @ConditionalOnMissingClass.value

Fixes gh-1069
This commit is contained in:
Phillip Webb 2014-06-10 10:20:50 -07:00
parent e8fcb0c875
commit 3341a5db2b
1 changed files with 3 additions and 0 deletions

View File

@ -41,7 +41,10 @@ public @interface ConditionalOnMissingClass {
* bytecode it is safe to specify classes here that may ultimately not be on the
* classpath.
* @return the classes that must be present
* @deprecated Since 1.1.0 due to the fact that the reflection errors can occur when
* beans containing the annotation remain in the context. Use {@link #name()} instead.
*/
@Deprecated
public Class<?>[] value() default {};
/**