Uses of Interface
org.springframework.beans.factory.support.InstanceSupplier
Packages that use 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
Classes in org.springframework.beans.factory.aot that implement InstanceSupplierModifier 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
Methods in org.springframework.beans.factory.support that return InstanceSupplierModifier 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 applied theafter
function to obtain the result.static <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) Lambda friendly method that can be used to create aInstanceSupplier
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
.Methods in org.springframework.beans.factory.support with parameters of type InstanceSupplierModifier and TypeMethodDescriptionstatic <T> InstanceSupplier<T>
InstanceSupplier.of
(InstanceSupplier<T> instanceSupplier) Lambda friendly method that can be used to create aInstanceSupplier
and add post processors in a single call.