Uses of Interface
org.springframework.util.function.ThrowingSupplier
Packages that use ThrowingSupplier
Package
Description
AOT support for bean factories.
Classes supporting the
org.springframework.beans.factory package.Useful generic
java.util.function helper classes.-
Uses of ThrowingSupplier in org.springframework.beans.factory.aot
Classes in org.springframework.beans.factory.aot that implement ThrowingSupplierModifier and TypeClassDescriptionfinal classSpecializedInstanceSupplierthat provides the factoryMethodused to instantiate the underlying bean instance, if any. -
Uses of ThrowingSupplier in org.springframework.beans.factory.support
Subinterfaces of ThrowingSupplier in org.springframework.beans.factory.supportModifier and TypeInterfaceDescriptioninterfaceSpecializedSupplierthat can be set on aBeanDefinitionwhen details about theregistered beanare needed to supply the instance.Methods in org.springframework.beans.factory.support with parameters of type ThrowingSupplierModifier and TypeMethodDescriptionstatic <T> InstanceSupplier<T> InstanceSupplier.using(@Nullable Method factoryMethod, ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplierfrom aThrowingSupplier.static <T> InstanceSupplier<T> InstanceSupplier.using(ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplierfrom aThrowingSupplier. -
Uses of ThrowingSupplier in org.springframework.util.function
Methods in org.springframework.util.function that return ThrowingSupplierModifier and TypeMethodDescriptionstatic <T> ThrowingSupplier<T> ThrowingSupplier.of(ThrowingSupplier<T> supplier) Lambda friendly convenience method that can be used to create aThrowingSupplierwhere theThrowingSupplier.get()method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T> ThrowingSupplier<T> ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingSupplierwhere theThrowingSupplier.get()method wraps any thrown checked exceptions using the givenexceptionWrapper.default ThrowingSupplier<T> ThrowingSupplier.throwing(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingSupplierwhere theThrowingSupplier.get()method wraps any thrown checked exceptions using the givenexceptionWrapper.Methods in org.springframework.util.function with parameters of type ThrowingSupplierModifier and TypeMethodDescriptionstatic <T> ThrowingSupplier<T> ThrowingSupplier.of(ThrowingSupplier<T> supplier) Lambda friendly convenience method that can be used to create aThrowingSupplierwhere theThrowingSupplier.get()method wraps any checked exception thrown by the supplied lambda expression or method reference.static <T> ThrowingSupplier<T> ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingSupplierwhere theThrowingSupplier.get()method wraps any thrown checked exceptions using the givenexceptionWrapper.