小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

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

 WindySky 2007-04-28

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

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

3. 在business中,添加了一個IServiceLocator的接口
ServiceLocator實現(xiàn)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方法已經(jīng)廢棄,改為了getRemoteObject

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

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

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

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多