public class SpringBeanProvider extends AbstractBeanProvider implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringBeanProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Map<String,T> |
getBeansOfType(Class<T> type) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
getBean@Scheduled
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic <T> Map<String,T> getBeansOfType(Class<T> type)
getBeansOfType 在接口中 BeanProviderCopyright © 2018. All rights reserved.