具体工具类见 上传资源->util工具类->SpringContextUtil
一、将工具类放入项目中
二、在applicationContext.xml中添加SpringContextUtil.java配置即可
<bean class="com.seentech.ucenter.sysmanage.utils.SpringContextUtil" lazy-init="false" />
三、使用方法,在需要加载bean的地方调用即可
AccessLogQueryService accessLogQueryService = SpringContextUtil.getBean("accessLogQueryService");