我的評論

          re: 使用Xfire開發WebService 空白 2011-05-10 21:17  
          @李慶文
          src目錄com.test.service包中
          re: mysql-noinstall安裝指南 空白 2009-05-11 09:21  
          @lwcaly
          沒有驗證的東西我是不會貼出來的,我自己在測試安裝過程正常使用,不信可以遠程登錄上來讓你看;

          您的路徑為何要雙\\,難道轉義字符?

          不要沒有教養、亂咬人,有能力就不到處找帖子配置了;
          集成ApplicationContextAware,獲取web環境中實例化的ApplicationContex,就可以獲取已經實例化的bean;

          public class SpringContextUtil implements ApplicationContextAware {

          private static ApplicationContext applicationContext;

          public void setApplicationContext(ApplicationContext arg0)
          throws BeansException {
          SpringContextUtil.applicationContext = arg0;
          }

          public static ApplicationContext getApplicationContext() {
          return SpringContextUtil.applicationContext;
          }

          /**
          * <p>根據名字獲取spring容器中bean</p>
          * @param name
          * @return
          */
          public static Object getBean(String name) {
          return SpringContextUtil.getApplicationContext().getBean(name);
          }
          }
          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          導航

          統計

          常用鏈接

          留言簿(1)

          隨筆分類(15)

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 邯郸市| 奎屯市| 新和县| 荥经县| 蒙山县| 伽师县| 阿拉善右旗| 廊坊市| 黑龙江省| 宁波市| 沂南县| 莱芜市| 南通市| 行唐县| 措勤县| 安庆市| 新营市| 天峨县| 新沂市| 石泉县| 修水县| 巴里| 宜阳县| 三河市| 淮南市| 天柱县| 邮箱| 霍邱县| 泰和县| 淮滨县| 文山县| 精河县| 兴隆县| 大安市| 抚顺县| 互助| 清水县| 仪陇县| 海丰县| 黎川县| 齐齐哈尔市|