ApplicationContext和BeanFactory
ApplicationContext初始化:
public class SpringTest {
public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
//BeanFactory factory = co
原创
2013-08-26 10:57:12 ·
674 阅读 ·
0 评论