適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.gravity.tracker 

IServiceTrackerCustomizer  - AS3 ADEP Client Component

套件com.adobe.gravity.tracker
介面public interface IServiceTrackerCustomizer
實作者 ServiceTracker

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
執行階段版本: AIR 1.1, Flash Player 9

Interface for customizing the behaviour of a ServiceTracker. For example, the tracked service objects could be wrapped to provide logging or other functionality.



公用方法
 方法定義自
  
Called when a new service appears that is to be tracked.
IServiceTrackerCustomizer
  
Called when service properties are modified.
IServiceTrackerCustomizer
  
Called when a service is no longer to be tracked.
IServiceTrackerCustomizer
方法詳細資訊

addingService

()方法
public function addingService(reference:IServiceReference):com.adobe.gravity.utility.async:IToken

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
執行階段版本: AIR 1.1, Flash Player 9

Called when a new service appears that is to be tracked. Note that implementations of this method must retrieve the service object from the service registry. The simplest implementation would be

         public function addingService(reference:IServiceReference):IToken
         {
           return BundleContext.currentContext.getService(reference);
         }
         

參數

reference:IServiceReference — The reference for the new service.

傳回值
com.adobe.gravity.utility.async:IToken — A token used to set success and failure handlers to be called when the operation has completed. The success handler must be called with the object to be returned by the tracker as the service object.

modifiedService

()方法 
public function modifiedService(reference:IServiceReference, service:Object):void

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
執行階段版本: AIR 1.1, Flash Player 9

Called when service properties are modified.

參數

reference:IServiceReference — The reference for the service.
 
service:Object — The service object.

removedService

()方法 
public function removedService(reference:IServiceReference, service:Object):void

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
執行階段版本: AIR 1.1, Flash Player 9

Called when a service is no longer to be tracked. Note that implementations must release the service object from the service registry. The simplest implementation would be

         public function removedService(reference:IServiceReference, service:Object):void
         {
           BundleContext.currentContext.ungetService(reference);
         }
         

參數

reference:IServiceReference
 
service:Object





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。