摘要: 编写一个工具类实现spring 的ApplicationContextAware接口代码如下: 1 package com.xnh.web.utils; 2 3 import org.springframework.beans.BeansException; 4 import org.springframework.context.ApplicationContext; 5 import org.springframework.context.ApplicationContextAware; 6 /** 7 * 8 * @author Kylin 9 *10 */11 public... 阅读全文
posted @ 2013-04-01 22:57 jiang nan 阅读(31812) 评论(0) 推荐(0) 编辑