ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.gravity.tracker 

IServiceTrackerCustomizer  - AS3 ADEP Client Component

Pakietcom.adobe.gravity.tracker
Interfejspublic interface IServiceTrackerCustomizer
Implementory ServiceTracker

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: 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.



Metody publiczne
 MetodaZdefiniowane przez
  
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
Szczegół metody

addingService

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

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: 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);
         }
         

Parametry

reference:IServiceReference — The reference for the new service.

Zwraca
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

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

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Called when service properties are modified.

Parametry

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

removedService

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

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: 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);
         }
         

Parametry

reference:IServiceReference
 
service:Object





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.