public final class BeanResolverUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
getBean(Class<T> cls)
This method returns a resolved object for the supplied type.
|
static <T> void |
getBeans(Class<T> cls,
List<T> list)
This method resolves multiple objects of the required type.
|
public static <T> T getBean(Class<T> cls)
T
- The bean typecls
- The required typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.