云自無(wú)心水自閑

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

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

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

          3. 在business中,添加了一個(gè)IServiceLocator的接口
          ServiceLocator實(shí)現(xiàn)IServiceLocator接口,相比以前增加了以下幾個(gè)方法:
          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

          原來(lái)的getService和getInvokerService方法已經(jīng)廢棄,改為了getRemoteObject

          4. 在Command中,增加了ICommand接口,原來(lái)的Command接口繼承ICommand

          5. 在VO中,增加了IValueObject接口,原來(lái)的ValueObject繼承IValueObject接口

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

           



          主站蜘蛛池模板: 桃园市| 镇巴县| 通城县| 双江| 洪泽县| 治多县| 宁都县| 郎溪县| 同仁县| 孝义市| 镇宁| 崇文区| 沁源县| 历史| 凤山市| 封开县| 新野县| 淄博市| 获嘉县| 满洲里市| 滁州市| 天津市| 自治县| 松溪县| 涞源县| 合川市| 如东县| 高雄县| 苍溪县| 三门县| 灵山县| 教育| 东乡族自治县| 平江县| 临安市| 遂平县| 彝良县| 赤城县| 德化县| 荆州市| 田林县|