Pakiet | com.adobe.gravity.framework |
Interfejs | public interface IServiceFactory |
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 |
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
getService(bundle:IBundle, registration:IServiceRegistration):com.adobe.gravity.utility.async:IToken
Return a service object. | IServiceFactory | ||
Release a service object. | IServiceFactory |
Szczegół metody
getService | () | metoda |
public function getService(bundle:IBundle, registration:IServiceRegistration):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 |
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.
Parametry
bundle:IBundle — The bundle requesting the service.
| |
registration:IServiceRegistration — The service registration for the service.
|
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 | () | metoda |
public function ungetService(bundle:IBundle, registration:IServiceRegistration, 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 |
Release a service object.
Parametry
bundle:IBundle — The bundle releasing the service.
| |
registration:IServiceRegistration — The service registration for the service.
| |
service:Object — The service object.
|
Tue Jun 12 2018, 12:06 PM Z