インターフェースの使用
org.springframework.boot.BootstrapRegistry.InstanceSupplier
org.springframework.boot 内の BootstrapRegistry.InstanceSupplier 使用
修飾子と型メソッド説明static <T> BootstrapRegistry.InstanceSupplier<T>
BootstrapRegistry.InstanceSupplier.from
(SupplierSE<T> supplier) Supplier
SE からBootstrapRegistry.InstanceSupplier
を作成するために使用できるファクトリメソッド。BootstrapRegistry.getRegisteredInstanceSupplier
(ClassSE<T> type) 指定された型の既存のBootstrapRegistry.InstanceSupplier
を返します。DefaultBootstrapContext.getRegisteredInstanceSupplier
(ClassSE<T> type) static <T> BootstrapRegistry.InstanceSupplier<T>
BootstrapRegistry.InstanceSupplier.of
(T instance) 特定のインスタンスのBootstrapRegistry.InstanceSupplier
を作成するために使用できるファクトリメソッド。default BootstrapRegistry.InstanceSupplier<T>
BootstrapRegistry.InstanceSupplier.withScope
(BootstrapRegistry.Scope scope) 更新されたBootstrapRegistry.Scope
を含む新しいBootstrapRegistry.InstanceSupplier
を返します。修飾子と型メソッド説明<T> void
BootstrapRegistry.register
(ClassSE<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) 特定の型をレジストリに登録します。<T> void
DefaultBootstrapContext.register
(ClassSE<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) <T> void
BootstrapRegistry.registerIfAbsent
(ClassSE<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier) 特定の型がまだ存在しない場合は、レジストリに登録します。<T> void
DefaultBootstrapContext.registerIfAbsent
(ClassSE<T> type, BootstrapRegistry.InstanceSupplier<T> instanceSupplier)