@Component(value="spring_context_util") public class SpringContextUtil extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringContextUtil() |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic static <T> T getBean(Class<T> beanClass)
T - beanClass - Copyright © 2019 Shanghai Stock Exchange. All rights reserved.