| Pakiet | com.adobe.mosaic.mxml |
| Klasa | public class Service |
| Dziedziczenie | Service EventDispatcher Object |
| Implementuje | IMXMLObject |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
serviceNode property.
Powiązane elementy interfejsu API
com.adobe.mosaic.om.interfaces.IShell
com.adobe.mosaic.mxml.ServerSession
com.adobe.mosaic.mxml.Application
com.adobe.mosaic.mxml.Catalog
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| catalog : Catalog
The Service's composite application catalog component. | Service | ||
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
| library : String
The value of the library name. | Service | ||
| loaded : Boolean [tylko do odczytu]
Checks if the underlying IService is instantiated. | Service | ||
| name : String
The name of the Experience Service. | Service | ||
| serviceNode : IService [tylko do odczytu]
The underlying Composite Application Framework SDK IService. | Service | ||
| shell : IShell
The associated IShell that the Service belongs to. | Service | ||
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Service()
Constructor. | Service | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | |
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | |
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
Implementation of IMXMLObject initialized. | Service | ||
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
Makes a request to load the Service by the value
of the name property from the associated Catalog, and then
attempts to add the service to the associated IShell. | Service | ||
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher | |
| Zdarzenie | Podsumowanie | Zdefiniowane przez | ||
|---|---|---|---|---|
![]() | [zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja środowiska wykonawczego AIR uzyskuje fokus w systemie operacyjnym i przechodzi w stan aktywny. | EventDispatcher | ||
| The addServiceEventFailure defines a failure notification of an attempt to load a Service. | Service | |||
| The addServiceEventSuccess defines a successful notification of loading a Service. | Service | |||
![]() | [zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja AIR traci fokus w systemie operacyjnym i przechodzi w stan nieaktywny. | EventDispatcher | ||
catalog | właściwość |
catalog:Catalog| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The Service's composite application catalog component.
Implementacja
public function get catalog():Catalog public function set catalog(value:Catalog):voidPowiązane elementy interfejsu API
library | właściwość |
library:String| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The value of the library name.
Implementacja
public function get library():String public function set library(value:String):voidloaded | właściwość |
loaded:Boolean [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Checks if the underlying IService is instantiated.
Implementacja
public function get loaded():Booleanname | właściwość |
name:String| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The name of the Experience Service.
Implementacja
public function get name():String public function set name(value:String):voidserviceNode | właściwość |
serviceNode:IService [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The underlying Composite Application Framework SDK IService.
Implementacja
public function get serviceNode():IServicePowiązane elementy interfejsu API
shell | właściwość |
shell:IShell| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The associated IShell that the Service belongs to.
Implementacja
public function get shell():IShell public function set shell(value:IShell):voidPowiązane elementy interfejsu API
Service | () | Konstruktor |
public function Service()| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Constructor.
initialized | () | metoda |
public function initialized(document:Object, id:String):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Implementation of IMXMLObject initialized.
Parametry
document:Object — The document
| |
id:String — The mxml id
|
loadService | () | metoda |
public function loadService():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Makes a request to load the Service by the value of the name property from the associated Catalog, and then attempts to add the service to the associated IShell. Both Catalog and Shell are required, and if either one is missing a log message will be generated. If the state of the catalog is either CatalogConstants.STATE_UNINITIALIZED or not CatalogConstants.STATE_LOADED, an event listener is added to listen for a CatalogLoadEvent.SUCCESS, at which time the catalog is considered loaded and a call to loadService() is triggered then.
addServiceEventFailure | Zdarzenie |
com.adobe.mosaic.om.events.AddServiceEventwłaściwość AddServiceEvent.type =
com.adobe.mosaic.om.events.AddServiceEvent.FAILURE| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The addServiceEventFailure defines a failure notification of an attempt to load a Service.
addServiceEventSuccess | Zdarzenie |
com.adobe.mosaic.om.events.AddServiceEventwłaściwość AddServiceEvent.type =
com.adobe.mosaic.om.events.AddServiceEvent.SUCCESS| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
| Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The addServiceEventSuccess defines a successful notification of loading a Service.
<fx:Declarations>
<mosaic:ServerSession id="myServer"
openSessionEventSuccess="myServer_connectedHandler(event)"
openSessionEventFailure="myServer_faultHandler(event)"
url="{_serverUrl}" />
<mosaic:Application id="myApp"
loadApplicationEventSuccess="myApp_loadApplicationEventSuccessHandler(event)"
loadApplicationEventFailure="myApp_loadApplicationEventFailureHandler(event)">
<mosaic:catalogs>
<mosaic:Catalog id="sampleCatalog"
name="sample_catalog"
catalogLoadEventSuccess="myCatalogSuccess(event)"
catalogLoadEventFailure="myCatalogFail(event)"
serverSession="{myServer}"/>
</mosaic:catalogs>
</mosaic:Application>
<mosaic:Service id="myService"
catalog="{sampleCatalog}"
shell="{myApp.shell}"
library="MyDataService-Weather"
name="WeatherService"/>
</fx:Declarations>
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne