インターフェースの使用
org.springframework.beans.factory.support.InstanceSupplier
パッケージ
説明
Bean ファクトリの AOT サポート。
org.springframework.beans.factory
パッケージをサポートするクラス。org.springframework.beans.factory.aot 内の InstanceSupplier 使用
修飾子と型クラス説明final class
基礎となる Bean インスタンスが存在する場合、それをインスタンス化するために使用されるファクトリMethod
SE を提供する特殊化されたInstanceSupplier
。org.springframework.beans.factory.support 内の InstanceSupplier 使用
修飾子と型メソッド説明default <V> InstanceSupplier<V>
InstanceSupplier.andThen
(ThrowingBiFunction<RegisteredBean, ? super T, ? extends V> after) 最初にこのサプライヤーからインスタンスを取得し、次にafter
関数を適用して結果を取得する合成インスタンスサプライヤーを返します。static <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) 1 回の呼び出しでInstanceSupplier
を作成し、ポストプロセッサーを追加するために使用できるラムダフレンドリなメソッド。static <T> InstanceSupplier<T>
InstanceSupplier.using
(MethodSE factoryMethod, ThrowingSupplier<T> supplier) ThrowingSupplier
からInstanceSupplier
を作成するファクトリメソッド。static <T> InstanceSupplier<T>
InstanceSupplier.using
(ThrowingSupplier<T> supplier) ThrowingSupplier
からInstanceSupplier
を作成するファクトリメソッド。修飾子と型メソッド説明static <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) 1 回の呼び出しでInstanceSupplier
を作成し、ポストプロセッサーを追加するために使用できるラムダフレンドリなメソッド。