<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    云自無心水自閑

    天平山上白云泉,云自無心水自閑。何必奔沖山下去,更添波浪向人間!
    posts - 288, comments - 524, trackbacks - 0, articles - 6
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    整理了一下Cairngorm 2.1版本的新變化

    Posted on 2007-04-10 19:48 云自無心水自閑 閱讀(1401) 評論(0)  編輯  收藏 所屬分類: Flex 、Cairngorm 、Flex2

    1. Caringorm2.1的包中增加了完整的ASDoc文檔

    2. 增加Locale,錯誤信息的國際化的處理。
    添加了一個Properties文件,
    添加了com.adobe.cairngorm.CairngormMessageCodes和com.adobe.cairngorm.CairngormError兩個類,其中CairngormMessageCodes用于定義Properties文件中的鍵值,而CairngormError封裝了Error,在應用執行的過程不再直接拋出Error,而拋出一個CairngormError,其中帶一個參數就是MessageCode,根據MessageCode到Properties文件中取出相應的消息。

    3. 在business中,添加了一個IServiceLocator的接口
    ServiceLocator實現IServiceLocator接口,相比以前增加了以下幾個方法:
    a、public function getRemoteObject( serviceId : String ) : RemoteObject // Return the RemoteObject for the given service id.
    b、public function getHTTPService( serviceId : String ) : HTTPService // Return the HTTPService for the given service id.
    c、public function getWebService( serviceId : String ) : WebService // Return the WebService for the given service id.
    d、public function getConsumer( serviceId : String ) : Consumer  // Return the message Consumer for the given service id.
    e、public function getProducer( serviceId : String ) : Producer // Return the message Produce for the given service id.
    f、public function getDataService( serviceId : String ) : DataService // Return the DataService for the given service id.
    g、public function setCredentials( username : String, password : String ) : void // Set the credentials for all registered services. Note that services that use a proxy or a third-party adapter to a remote endpoint will

    原來的getService和getInvokerService方法已經廢棄,改為了getRemoteObject

    4. 在Command中,增加了ICommand接口,原來的Command接口繼承ICommand

    5. 在VO中,增加了IValueObject接口,原來的ValueObject繼承IValueObject接口

    上面添加的幾個接口,除了IServiceLocator相較2.0版本有了較大的變化,增加了一些方法,其他的幾個接口,依我所見,純粹是換了名字而已。

     



    主站蜘蛛池模板: 91亚洲精品视频| 亚洲国产精品第一区二区三区| 久久亚洲精品成人综合| www永久免费视频| 亚洲天堂免费在线视频| 四虎影视久久久免费 | 在线看片免费人成视久网| 国产亚洲精品岁国产微拍精品| 久久久久女教师免费一区| 中文字幕精品亚洲无线码二区| a级毛片免费全部播放无码| 欧洲亚洲国产清在高| 亚欧免费一级毛片| 亚洲国产精品久久丫| 女性自慰aⅴ片高清免费| 亚洲AV成人精品日韩一区| 又粗又硬免费毛片| 伊人免费在线观看| 亚洲美女激情视频| 麻豆国产入口在线观看免费| 另类图片亚洲校园小说区| 国产亚洲一区区二区在线| 无码成A毛片免费| 中国china体内裑精亚洲日本| 暖暖日本免费在线视频| 一区二区三区免费视频网站| 亚洲av无码乱码国产精品| 黄色片在线免费观看| 日本黄页网址在线看免费不卡| 亚洲日韩精品一区二区三区无码| 97久久免费视频| 色窝窝亚洲av网| 亚洲国产人成在线观看69网站| 免费可以在线看A∨网站| 一级毛片试看60分钟免费播放| 亚洲宅男永久在线| 永久免费无码网站在线观看 | 亚洲美女大bbbbbbbbb| 黄网址在线永久免费观看| baoyu777永久免费视频| 亚洲午夜福利在线视频|