Paket | com.adobe.gravity.tracker |
Arabirim | public interface IServiceTrackerCustomizer |
Uygulayıcılar | ServiceTracker |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | AIR 1.1, Flash Player 9 |
Genel Yöntemler
Yöntem | Tanımlayan: | ||
---|---|---|---|
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 |
Yöntem Ayrıntısı
addingService | () | yöntem |
public function addingService(reference:IServiceReference):com.adobe.gravity.utility.async:IToken
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | 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); }
Parametreler
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 | () | yöntem |
public function modifiedService(reference:IServiceReference, service:Object):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | AIR 1.1, Flash Player 9 |
Called when service properties are modified.
Parametreler
reference:IServiceReference — The reference for the service.
| |
service:Object — The service object.
|
removedService | () | yöntem |
public function removedService(reference:IServiceReference, service:Object):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | 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); }
Parametreler
reference:IServiceReference | |
service:Object |
Tue Jun 12 2018, 01:09 PM Z