Uses of Interface
org.springframework.util.function.ThrowingFunction
Package
Description
AOT support for bean factories.
Useful generic
java.util.function
helper classes.-
Uses of ThrowingFunction in org.springframework.beans.factory.aot
Modifier and TypeMethodDescription<T> T
AutowiredInstantiationArgumentsResolver.resolve
(RegisteredBean registeredBean, ThrowingFunction<AutowiredArguments, T> generator) Resolve arguments for the specified registered bean and provide them to the given generator in order to return a result. -
Uses of ThrowingFunction in org.springframework.util.function
Modifier and TypeMethodDescriptionstatic <T,
R> ThrowingFunction<T, R> ThrowingFunction.of
(ThrowingFunction<T, R> function) Lambda friendly convenience method that can be used to createThrowingFunction
where theapply(Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.static <T,
R> ThrowingFunction<T, R> ThrowingFunction.of
(ThrowingFunction<T, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingFunction
where theapply(Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.default ThrowingFunction<T,
R> ThrowingFunction.throwing
(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingFunction
where theapply(Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.Modifier and TypeMethodDescriptionstatic <T,
R> ThrowingFunction<T, R> ThrowingFunction.of
(ThrowingFunction<T, R> function) Lambda friendly convenience method that can be used to createThrowingFunction
where theapply(Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.static <T,
R> ThrowingFunction<T, R> ThrowingFunction.of
(ThrowingFunction<T, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingFunction
where theapply(Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.