Spring中ClassPathXmlApplicationContext类的简单使用
摘要:
一、简单的用ApplicationContext做测试的话,获得Spring中定义的Bean实例(对象).可以用:ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");Registe... 阅读全文
posted @ 2011-12-15 17:45 dhj 阅读(99) 评论(0) 推荐(0)
浙公网安备 33010602011771号