@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface ConditionalOnMissingClass
Conditional
that only matches when the specified classes are not on the
classpath.Modifier and Type | Optional Element and Description |
---|---|
String[] |
name
The classes names that must not be present.
|
Class<?>[] |
value
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
name() instead. |
@Deprecated public abstract Class<?>[] value
name()
instead.public abstract String[] name
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.