open class BeanSupplierContext
Limit access to ref()
and provider()
to bean supplier lambdas.
Since
5.2
BeanSupplierContext(context: GenericApplicationContext)
Limit access to |
fun <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. |
|
fun <T : Any> ref(name: String? = null): T
Get a reference to the bean by type or type + name with the syntax
|