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