<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)  編輯  收藏 所屬分類: FlexCairngormFlex2

    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版本有了較大的變化,增加了一些方法,其他的幾個接口,依我所見,純粹是換了名字而已。

     



    主站蜘蛛池模板: 色欲aⅴ亚洲情无码AV蜜桃| 中文在线免费不卡视频| 老外毛片免费视频播放| a级毛片高清免费视频就| 久久精品a一国产成人免费网站| 亚洲精品无码专区久久同性男| 亚洲精品视频免费在线观看| 免费无码午夜福利片69| 91精品成人免费国产片| 国产亚洲精品不卡在线| 亚洲天然素人无码专区| 国内永久免费crm系统z在线 | 成人免费区一区二区三区| 亚洲线精品一区二区三区影音先锋 | 免费激情网站国产高清第一页 | 成人免费网站久久久| 无码人妻一区二区三区免费手机 | 在线观看亚洲AV日韩A∨| 日韩特黄特色大片免费视频| 亚洲成人免费在线| 日韩大片免费观看视频播放| 亚洲人成网站观看在线播放| 亚洲午夜电影在线观看高清| 免费久久人人爽人人爽av| 五月天网站亚洲小说| 精品免费久久久久久久| 亚洲精品美女久久7777777| 午夜国产精品免费观看| 亚洲国产精品lv| 免费精品久久天干天干| 亚洲一级免费视频| 美女被cao免费看在线看网站| 亚洲欧美自偷自拍另类视| 欧亚精品一区三区免费| 色噜噜狠狠色综合免费视频| 亚洲成AV人片在线观看无码| 久久精品免费网站网| 国产亚洲精品国看不卡| 97国产免费全部免费观看| 亚洲乱人伦精品图片| 亚洲成网777777国产精品|