fun <T : Any> lookUpOptionalLocalBean(name: String, type: KClass<T>): T?
Overrides HierarchicalBeansProvider.lookUpOptionalLocalBean
Looks up the bean with the given name and type locally, i.e. solely in this BeansProvider, not in the parent, following the same contract as BeansProvider.lookUpOptionalBean.
name - the name of the desired bean
type - the type of the desired bean
Parameters
Return
the named bean or null
See Also
fun <T : Any> lookUpOptionalLocalBean(type: KClass<T>): T?
Overrides HierarchicalBeansProvider.lookUpOptionalLocalBean
Looks up the bean with the given type locally, i.e. solely in this BeansProvider, not in the parent, following the same contract as BeansProvider.lookUpOptionalBean.
type - the type of the desired bean
Parameters
Return
the named bean or null
See Also