ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.gravity.framework 

IServiceFactory  - AS3 ADEP Client-Komponente

Paketcom.adobe.gravity.framework
Schnittstellepublic interface IServiceFactory

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10
Laufzeitversionen: 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.



Öffentliche Methoden
 MethodeDefiniert von
  
Return a service object.
IServiceFactory
  
ungetService(bundle:IBundle, registration:IServiceRegistration, service:Object):void
Release a service object.
IServiceFactory
Methodendetails

getService

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

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10
Laufzeitversionen: 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.

Parameter

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

Rückgabewerte
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

()Methode 
public function ungetService(bundle:IBundle, registration:IServiceRegistration, service:Object):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10
Laufzeitversionen: AIR 1.1, Flash Player 9

Release a service object.

Parameter

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





[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.