java回调中点获取service对象

来源:互联网 发布:python 打开文件函数 编辑:程序博客网 时间:2024/06/09 21:07
ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(getServletContext());CacheFileService handler = (CacheFileService) context.getBean("cacheFileService");
s
0 0
原创粉丝点击