枚举类的使用
org.springframework.boot.BootstrapRegistry.Scope
使用BootstrapRegistry.Scope的程序包
-
org.springframework.boot中BootstrapRegistry.Scope的使用
修饰符和类型方法说明default BootstrapRegistry.Scope
BootstrapRegistry.InstanceSupplier.getScope()
Return the scope of the supplied instance.static BootstrapRegistry.Scope
返回带有指定名称的该类的枚举常量。static BootstrapRegistry.Scope[]
BootstrapRegistry.Scope.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明default BootstrapRegistry.InstanceSupplier
<T> BootstrapRegistry.InstanceSupplier.withScope
(BootstrapRegistry.Scope scope) Return a newBootstrapRegistry.InstanceSupplier
with an updatedBootstrapRegistry.Scope
.