批注接口 ConditionalOnMissingClass
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnClassCondition.class)
public @interface ConditionalOnMissingClass
@Conditional
that only matches when the specified classes are not
on the classpath.- 从以下版本开始:
- 1.0.0
- 作者:
- Dave Syer
-
可选元素概要
可选元素
-
元素详细资料
-
value
String[] valueThe names of the classes that must not be present.- 返回:
- the names of the classes that must not be present
- 默认值:
{}
-