Spring加载启动配置文件
加载beans.xml文件:
1 ApplicationContext applicationContext = new ClassPathXmlApplicationContext("beans.xml");
凝一眸碧水,拈一缕清风,于一怀静谧中倾听凡尘的落音。
不再奢求什么,做简单的自己,过简单的生活,心在,梦在,你在,便是光阴赐予我的最美。
加载beans.xml文件:
1 ApplicationContext applicationContext = new ClassPathXmlApplicationContext("beans.xml");