open class BeanSupplierContext
Limit access to ref()
and provider()
to bean supplier lambdas.
Since
5.2
<init> |
Limit access to BeanSupplierContext(context: GenericApplicationContext) |
provider |
Return an provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options. fun <T : Any> provider(): ObjectProvider<T> |
ref |
Get a reference to the bean by type or type + name with the syntax
fun <T : Any> ref(name: String? = null): T |