类的使用
org.springframework.boot.SpringApplication.Augmented
-
org.springframework.boot中SpringApplication.Augmented的使用
修饰符和类型方法说明static SpringApplication.AugmentedSpringApplication.from(ThrowingConsumer<String[]> main) Create an application from an existingmainmethod that can run with additional@Configurationor bean classes.Return a newSpringApplication.Augmentedinstance with additional sources that should be applied when the application runs.SpringApplication.Augmented.withAdditionalProfiles(String... profiles) Return a newSpringApplication.Augmentedinstance with additional profiles that should be applied when the application runs.