接口的使用
org.springframework.boot.BootstrapRegistryInitializer
-
org.springframework.boot中BootstrapRegistryInitializer的使用
修饰符和类型方法说明void
SpringApplication.addBootstrapRegistryInitializer
(BootstrapRegistryInitializer bootstrapRegistryInitializer) AddsBootstrapRegistryInitializer
instances that can be used to initialize theBootstrapRegistry
. -
org.springframework.boot.builder中BootstrapRegistryInitializer的使用
修饰符和类型方法说明SpringApplicationBuilder.addBootstrapRegistryInitializer
(BootstrapRegistryInitializer bootstrapRegistryInitializer) AddsBootstrapRegistryInitializer
instances that can be used to initialize theBootstrapRegistry
.