public class ConditionUtil
extends java.lang.Object
构造器和说明 |
---|
ConditionUtil() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
ifBean(Condition anno)
是否有 OnBean 条件
|
static boolean |
ifMissingBean(Condition anno)
是否有 onMissingBean 条件
|
static void |
onBeanRun(Condition anno,
AppContext context,
RunnableEx runnable) |
static boolean |
test(AppContext context,
java.lang.reflect.AnnotatedElement element)
检测条件
|
static boolean |
test(AppContext context,
Condition anno)
检测条件
|
public static boolean ifMissingBean(Condition anno)
public static boolean ifBean(Condition anno)
public static void onBeanRun(Condition anno, AppContext context, RunnableEx runnable)
public static boolean test(AppContext context, java.lang.reflect.AnnotatedElement element)
public static boolean test(AppContext context, Condition anno)