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