接口的使用
org.springframework.boot.BootstrapContext
使用BootstrapContext的程序包
-
org.springframework.boot中BootstrapContext的使用
修饰符和类型接口说明interfaceABootstrapContextthat also provides configuration methods through theBootstrapRegistryinterface.修饰符和类型方法说明BootstrapContextClosedEvent.getBootstrapContext()Return theBootstrapContextthat was closed.参数类型为BootstrapContext的org.springframework.boot中的方法修饰符和类型方法说明BootstrapRegistry.InstanceSupplier.get(BootstrapContext context) Factory method used to create the instance when needed.