类的使用
org.springframework.boot.context.annotation.Configurations
使用Configurations的程序包
程序包
说明
Spring Boot's auto-configuration capabilities.
Classes related to Spring's
ApplicationContext
annotations.Test utilities to run application contexts for testing.
-
org.springframework.boot.autoconfigure中Configurations的使用
-
org.springframework.boot.context.annotation中Configurations的使用
修饰符和类型方法说明protected abstract ConfigurationsMerge configurations.protected ConfigurationsConfigurations.merge(Configurations other) Merge configurations from another source of the same type.返回变量类型为Configurations的类型的org.springframework.boot.context.annotation中的方法修饰符和类型方法说明static List<Configurations> Configurations.collate(Collection<Configurations> configurations) Collate the given configuration by sorting and merging them.修饰符和类型方法说明static Class<?>[]Configurations.getClasses(Configurations... configurations) Return the classes from all the specified configurations in the order that they would be registered.protected ConfigurationsConfigurations.merge(Configurations other) Merge configurations from another source of the same type.修饰符和类型方法说明static List<Configurations> Configurations.collate(Collection<Configurations> configurations) Collate the given configuration by sorting and merging them.static Class<?>[]Configurations.getClasses(Collection<Configurations> configurations) Return the classes from all the specified configurations in the order that they would be registered. -
org.springframework.boot.test.context.runner中Configurations的使用
修饰符和类型方法说明AbstractApplicationContextRunner.withConfiguration(Configurations configurations) Register the specified configuration classes with theApplicationContext.