Uses of Interface
org.springframework.beans.factory.support.InstanceSupplier
Package
Description
AOT support for bean factories.
Classes supporting the
org.springframework.beans.factory
package.-
Uses of InstanceSupplier in org.springframework.beans.factory.aot
Modifier and TypeClassDescriptionfinal class
SpecializedInstanceSupplier
that provides the factoryMethod
used to instantiate the underlying bean instance, if any. -
Uses of InstanceSupplier in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptiondefault <V> InstanceSupplier<V>
InstanceSupplier.andThen
(ThrowingBiFunction<RegisteredBean, ? super T, ? extends V> after) Return a composed instance supplier that first obtains the instance from this supplier and then applies theafter
function to obtain the result.static <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) Lambda friendly method that can be used to create anInstanceSupplier
and add post processors in a single call.static <T> InstanceSupplier<T>
InstanceSupplier.using
(Method factoryMethod, ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplier
from aThrowingSupplier
.static <T> InstanceSupplier<T>
InstanceSupplier.using
(ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplier
from aThrowingSupplier
.Modifier and TypeMethodDescriptionstatic <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) Lambda friendly method that can be used to create anInstanceSupplier
and add post processors in a single call.