provider

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

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

See also