Paket | com.adobe.mosaic.mxml |
Klass | public class Service |
Arv | Service EventDispatcher Object |
Implementerar | IMXMLObject |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
serviceNode
property.
Relaterade API-element
com.adobe.mosaic.om.interfaces.IShell
com.adobe.mosaic.mxml.ServerSession
com.adobe.mosaic.mxml.Application
com.adobe.mosaic.mxml.Catalog
Egenskap | Definieras med | ||
---|---|---|---|
catalog : Catalog
The Service's composite application catalog component. | Service | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
library : String
The value of the library name. | Service | ||
loaded : Boolean [skrivskyddad]
Checks if the underlying IService is instantiated. | Service | ||
name : String
The name of the Experience Service. | Service | ||
serviceNode : IService [skrivskyddad]
The underlying Composite Application Framework SDK IService. | Service | ||
shell : IShell
The associated IShell that the Service belongs to. | Service |
Metod | Definieras med | ||
---|---|---|---|
Service()
Constructor. | Service | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Implementation of IMXMLObject initialized. | Service | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | 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 | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
[utsändningshändelse] Skickas när Flash Player eller AIR får operativsystemfokus och blir aktivt. | 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 | |||
[utsändningshändelse] Skickas när Flash Player eller AIR förlorar operativsystemfokus och blir inaktivt. | EventDispatcher |
catalog | egenskap |
catalog:Catalog
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The Service's composite application catalog component.
Implementering
public function get catalog():Catalog
public function set catalog(value:Catalog):void
Relaterade API-element
library | egenskap |
library:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The value of the library name.
Implementering
public function get library():String
public function set library(value:String):void
loaded | egenskap |
loaded:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Checks if the underlying IService is instantiated.
Implementering
public function get loaded():Boolean
name | egenskap |
name:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The name of the Experience Service.
Implementering
public function get name():String
public function set name(value:String):void
serviceNode | egenskap |
serviceNode:IService
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The underlying Composite Application Framework SDK IService.
Implementering
public function get serviceNode():IService
Relaterade API-element
shell | egenskap |
shell:IShell
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The associated IShell that the Service belongs to.
Implementering
public function get shell():IShell
public function set shell(value:IShell):void
Relaterade API-element
Service | () | Konstruktor |
public function Service()
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Constructor.
initialized | () | metod |
public function initialized(document:Object, id:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Implementation of IMXMLObject initialized.
Parametrar
document:Object — The document
| |
id:String — The mxml id
|
loadService | () | metod |
public function loadService():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | 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 | Händelse |
com.adobe.mosaic.om.events.AddServiceEvent
egenskap AddServiceEvent.type =
com.adobe.mosaic.om.events.AddServiceEvent.FAILURE
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The addServiceEventFailure defines a failure notification of an attempt to load a Service.
addServiceEventSuccess | Händelse |
com.adobe.mosaic.om.events.AddServiceEvent
egenskap AddServiceEvent.type =
com.adobe.mosaic.om.events.AddServiceEvent.SUCCESS
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Körningsmiljöversioner: | 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, 01:40 PM Z