public class SpringBeanUtil extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpringBeanUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Object |
getBean(Class<T> beanClass) |
static Object |
getBean(String name) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019. All rights reserved.