ClassPathXmlApplicationContext源码解析
源码分析
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring-config.xml");
查看源码
public ClassPathXmlApplicationContext(String configLocation) throws BeansException {
this(new String[] {configLocation}, true, null);
}
public ClassPathXmlApplicationContext(
String[] configLocations, boolean refresh, @Nullable ApplicationContext parent)
throws BeansException {
supe
共有 0 条评论