타입 : class 인거 같다
public Object getBean(String name) throws BeansException {
return getBeanFactory().getBean(name);
}
public <T> T getBean(String name, Class<T> requiredType) throws BeansException {
return getBeanFactory().getBean(name, requiredType);
}
public <T> T getBean(Class<T> requiredType) throws BeansException {
return getBeanFactory().getBean(requiredType);
}
public Object getBean(String name, Object... args) throws BeansException {
return getBeanFactory().getBean(name, args);
}
'Spring 공부' 카테고리의 다른 글
[batch] parameter 전달방법 (0) | 2014.02.03 |
---|---|
spring java source (0) | 2013.10.25 |
mysql key Holder (0) | 2013.05.13 |
[펌]Mybatis Spring Annotation 적용 샘플 (0) | 2013.05.06 |
log4j (0) | 2013.04.30 |