Annotation Interface的使用
cn.taketoday.context.annotation.Conditional
使用Conditional的程序包
程序包
说明
@Condition annotations and supporting classes.-
cn.taketoday.context.annotation中Conditional的使用
修饰符和类型类说明@interfaceIndicates that a component is eligible for registration when one or more specified profiles are active. -
cn.taketoday.context.condition中Conditional的使用
修饰符和类型类说明@interface@Conditionalthat only matches when beans meeting all the specified requirements are already contained in theBeanFactory.@interface@Conditionalthat only matches when the specified classes are on the classpath.@interfaceannotation for a conditional element that depends on the value of a Java Unified Expression Language@interface@Conditionalthat matches based on the JVM version the application is running on.@interface@Conditionalthat matches based on the availability of a JNDIInitialContextand the ability to lookup specific locations.@interface@Conditionalthat only matches when no beans meeting the specified requirements are already contained in theBeanFactory.@interfaceConditionalthat only matches when the specified classes are not on the classpath.@interface@Conditionalthat checks if the specified properties have a specific value.@interfaceConditionalthat only matches when the specified resources are exits@interface@Conditionalthat only matches when a bean of the specified class is already contained in theBeanFactoryand a single candidate can be determined.