ApplicationContext appC= new FileSystemXmlApplicationContext(configFile);
UserService userService = appC.getBean(UserService.class);
List<CoreUser> userList = userService.selectIsBind(username);
配置文件applicationContext.xml:
获取对象:
List<CoreUser> userList = userService.selectIsBind(username);
配置文件applicationContext.xml:
获取对象:
相关文章: