spring-framework / org.springframework.context.support / BeanDefinitionDsl / BeanSupplierContext / provider

provider

fun <reified T : Any> provider(): ObjectProvider<T>

Return an provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.

See Also

org.springframework.beans.factory.BeanFactory.getBeanProvider