Uses of Class
org.springframework.data.util.Lazy
Packages that use Lazy
Package
Description
SpEL support.
Core utility APIs such as a type information framework to resolve generic types.
-
Uses of Lazy in org.springframework.data.spel
Constructors in org.springframework.data.spel with parameters of type LazyModifierConstructorDescriptionExtensionAwareEvaluationContextProvider
(Lazy<? extends Collection<? extends ExtensionIdAware>> extensions) -
Uses of Lazy in org.springframework.data.util
Methods in org.springframework.data.util that return LazyModifier and TypeMethodDescriptionstatic <T> Lazy<T>
Lazy.empty()
Creates a pre-resolved emptyLazy
.<S> Lazy<S>
Creates a newLazy
with the givenFunction
lazily applied to the current one.static <T> Lazy<T>
BeanLookup.lazyIfAvailable
(Class<T> type, BeanFactory beanFactory) Returns aLazy
for the unique bean of the given type from the givenBeanFactory
(which needs to be aListableBeanFactory
).<S> Lazy<S>
Creates a newLazy
with the givenFunction
lazily applied to the current one.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 newLazy
that will consume the given supplier in case the current one does not yield in a result.Returns a newLazy
that will return the given value in case the current one does not yield in a result.Method parameters in org.springframework.data.util with type arguments of type LazyModifier and TypeMethodDescription<S> Lazy<S>
Creates a newLazy
with the givenFunction
lazily applied to the current one.Constructors in org.springframework.data.util with parameters of type LazyModifierConstructorDescriptionParameterTypes
(List<TypeDescriptor> types, Lazy<Collection<ParameterTypes>> alternatives)