ApplicationContext applicationContext = new FileSystemXmlApplicationContext("config/applicationContext.xml");ResourceService resourceService = (ResourceService) applicationContext.getBean("resourceService");
本文共 249 字,大约阅读时间需要 1 分钟。
ApplicationContext applicationContext = new FileSystemXmlApplicationContext("config/applicationContext.xml");ResourceService resourceService = (ResourceService) applicationContext.getBean("resourceService");
转载于:https://blog.51cto.com/lailai/1624111