Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
com.adobe.gravity.framework 

IServiceFactory  - AS3 ADEP Client Component

Packagecom.adobe.gravity.framework
Interfacepublic interface IServiceFactory

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Versions du moteur d’exécution: AIR 1.1, Flash Player 9

Services implement IServiceFactory when they need additional control over how service objects are dispensed. Implementing IServiceFactory allows bundles to return a different implementation of the service for each bundle that is requesting the service.



Méthodes publiques
 MéthodeDéfini par
  
Return a service object.
IServiceFactory
  
ungetService(bundle:IBundle, registration:IServiceRegistration, service:Object):void
Release a service object.
IServiceFactory
Détails de la méthode

getService

()méthode
public function getService(bundle:IBundle, registration:IServiceRegistration):com.adobe.gravity.utility.async:IToken

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Versions du moteur d’exécution: AIR 1.1, Flash Player 9

Return a service object. Note that the framework will cache the returned object for the specified bundle, so additional requests from that same bundle will receive the same object and this function will not be invoked.

Paramètres

bundle:IBundle — The bundle requesting the service.
 
registration:IServiceRegistration — The service registration for the service.

Valeur renvoyée
com.adobe.gravity.utility.async:IToken — A token used to set success and failure handlers to be called when the operation has completed. If the service retrieval is successful, the service object will be passed into the success handler. In other words, the success handler should take a single object of the service interface type.

ungetService

()méthode 
public function ungetService(bundle:IBundle, registration:IServiceRegistration, service:Object):void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Versions du moteur d’exécution: AIR 1.1, Flash Player 9

Release a service object.

Paramètres

bundle:IBundle — The bundle releasing the service.
 
registration:IServiceRegistration — The service registration for the service.
 
service:Object — The service object.





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.