Class SimpleObjectProvider<T>
java.lang.Object
org.springframework.cloud.client.loadbalancer.SimpleObjectProvider<T>
- Type Parameters:
T- type of the object to fetch
- All Implemented Interfaces:
Iterable<T>, org.springframework.beans.factory.ObjectFactory<T>, org.springframework.beans.factory.ObjectProvider<T>
@Deprecated(forRemoval=true)
public class SimpleObjectProvider<T>
extends Object
implements org.springframework.beans.factory.ObjectProvider<T>
Deprecated, for removal: This API element is subject to removal in a future version.
for removal in 4.0
Wrapper for
ObjectProvider. Added to use for a workaround in
LoadBalancerWebClientBuilderBeanPostProcessor.- Author:
- Spencer Gibb
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.ObjectProvider
UNFILTERED -
Constructor Summary
ConstructorsConstructorDescriptionSimpleObjectProvider(T object) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface org.springframework.beans.factory.ObjectProvider
getIfAvailable, getIfUnique, ifAvailable, ifUnique, iterator, orderedStream, orderedStream, orderedStream, stream, stream, stream
-
Constructor Details
-
SimpleObjectProvider
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getObject
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getObjectin interfaceorg.springframework.beans.factory.ObjectProvider<T>- Throws:
org.springframework.beans.BeansException
-
getIfAvailable
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIfAvailablein interfaceorg.springframework.beans.factory.ObjectProvider<T>- Throws:
org.springframework.beans.BeansException
-
getIfUnique
-
getObject
Deprecated, for removal: This API element is subject to removal in a future version.
-