@Component public class SpringApplicationContext extends Object implements org.springframework.beans.factory.BeanFactoryAware
| Constructor and Description |
|---|
SpringApplicationContext() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getBean(Class<? extends T> klass) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic static <T> T getBean(Class<? extends T> klass)
Copyright © 2016. All Rights Reserved.