Uses of Class
org.springframework.data.util.Lazy
Package
Description
Core utility APIs such as a type information framework to resolve generic types.
-
Uses of Lazy in org.springframework.data.spel
ModifierConstructorDescriptionExtensionAwareEvaluationContextProvider
(Lazy<? extends Collection<? extends ExtensionIdAware>> extensions) -
Uses of Lazy in org.springframework.data.util
Modifier and TypeMethodDescriptionstatic <T> Lazy<T>
Lazy.empty()
Creates a pre-resolved emptyLazy
.<S> Lazy<S>
static <T> Lazy<T>
BeanLookup.lazyIfAvailable
(Class<T> type, org.springframework.beans.factory.BeanFactory beanFactory) Returns aLazy
for the unique bean of the given type from the givenBeanFactory
(which needs to be aListableBeanFactory
).<S> Lazy<S>
static <T> Lazy<T>
Creates a newLazy
to produce an object lazily.static <T> Lazy<T>
Lazy.of
(T value) Creates a newLazy
to return the given value.Returns a new Lazy that will consume the given supplier in case the current one does not yield in a result.Returns a new Lazy that will return the given value in case the current one does not yield in a result.ModifierConstructorDescriptionParameterTypes
(List<org.springframework.core.convert.TypeDescriptor> types, Lazy<Collection<ParameterTypes>> alternatives)