接口的使用
org.springframework.context.annotation.Condition
使用Condition的程序包 程序包 说明 org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.annotation中Condition的使用
org.springframework.context.annotation中Condition的子接口 修饰符和类型 接口 说明 interface
ConfigurationCondition
ACondition
that offers more fine-grained control when used with@Configuration
.