public class ApplicationContextFacade extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getBean(Class<T> beanClass)
Return the bean instance that uniquely matches the given object type.
|
public static <T> T getBean(Class<T> beanClass)
T - the bean type to returnbeanClass - the class which bean is to be returned; it can be an interface or
superclassCopyright © 2021. All rights reserved.