# Uses of Interface
org.springframework.beans.factory.ObjectProvider

Packages that use ObjectProvider
Package
Description
org.springframework.beans.factory
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
org.springframework.beans.factory.support
Classes supporting the `org.springframework.beans.factory` package.

## Uses of ObjectProvider in org.springframework.beans.factory

Methods in org.springframework.beans.factory that return ObjectProvider
Modifier and Type
Method
Description
`<T> ObjectProvider<T>`
BeanFactory.`getBeanProvider(Class<T> requiredType)`
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
`<T> ObjectProvider<T>`
BeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType)`
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
`<T> ObjectProvider<T>`
ListableBeanFactory.`getBeanProvider(Class<T> requiredType, boolean allowEagerInit)`
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.
`<T> ObjectProvider<T>`
ListableBeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType, boolean allowEagerInit)`
Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.

## Uses of ObjectProvider in org.springframework.beans.factory.support

Methods in org.springframework.beans.factory.support that return ObjectProvider
Modifier and Type
Method
Description
`<T> ObjectProvider<T>`
DefaultListableBeanFactory.`getBeanProvider(Class<T> requiredType)`
`<T> ObjectProvider<T>`
DefaultListableBeanFactory.`getBeanProvider(Class<T> requiredType, boolean allowEagerInit)`
`<T> ObjectProvider<T>`
DefaultListableBeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType)`
`<T> ObjectProvider<T>`
DefaultListableBeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType, boolean allowEagerInit)`
`<T> ObjectProvider<T>`
StaticListableBeanFactory.`getBeanProvider(Class<T> requiredType)`
`<T> ObjectProvider<T>`
StaticListableBeanFactory.`getBeanProvider(Class<T> requiredType, boolean allowEagerInit)`
`<T> ObjectProvider<T>`
StaticListableBeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType)`
`<T> ObjectProvider<T>`
StaticListableBeanFactory.`getBeanProvider(org.springframework.core.ResolvableType requiredType, boolean allowEagerInit)`