一般加载Spring配置

来源:互联网 发布:毕业纪念册设计软件 编辑:程序博客网 时间:2024/05/03 00:55

ApplicationContext context = new ClassPathXmlApplicationContext(
    "applicationContext-*.xml");
IXXXService xxxservice = (IXXXService ) context
    .getBean("xxxservice ");

原创粉丝点击