Pakket | mx.messaging.config |
Klasse | public class ServerConfig |
Overerving | ServerConfig Object |
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The XML source is provided during the compilation process. However, there is currently no internal restriction preventing the acquisition of this XML data by other means, such as network, local file system, or shared object at runtime.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
xml : XML [statisch]
The XML configuration; this value must contain the relevant portions of
the <services> tag from the services-config.xml file. | ServerConfig |
Methode | Gedefinieerd door | ||
---|---|---|---|
[statisch]
This method ensures that the destinations specified contain identical
channel definitions. | ServerConfig | ||
[statisch]
Returns a shared instance of the configured Channel. | ServerConfig | ||
[statisch]
Returns a shared ChannelSet for use with the specified destination
belonging to the service that handles the specified message type. | ServerConfig | ||
[statisch]
Returns the property information for the specified destination
| ServerConfig | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
xml | eigenschap |
xml:XML
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The XML configuration; this value must contain the relevant portions of the <services> tag from the services-config.xml file.
Implementatie
public static function get xml():XML
public static function set xml(value:XML):void
checkChannelConsistency | () | methode |
public static function checkChannelConsistency(destinationA:String, destinationB:String):void
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
This method ensures that the destinations specified contain identical channel definitions. If the channel definitions between the two destinations specified are not identical this method will throw an ArgumentError.
Parameters
destinationA:String — first destination to compare against
| |
destinationB:String — second destination to compare channels with
|
getChannel | () | methode |
public static function getChannel(id:String, clustered:Boolean = false):Channel
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns a shared instance of the configured Channel.
Parameters
id:String — The id of the desired Channel.
| |
clustered:Boolean (default = false ) — True if the Channel will be used in a clustered
fashion; otherwise false.
|
Channel — The Channel instance.
|
Gegenereerde uitzondering
InvalidChannelError — If no Channel has the specified id.
|
getChannelSet | () | methode |
public static function getChannelSet(destinationId:String):ChannelSet
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns a shared ChannelSet for use with the specified destination belonging to the service that handles the specified message type.
Parameters
destinationId:String — The target destination id.
|
ChannelSet — The ChannelSet.
|
Gegenereerde uitzondering
InvalidDestinationError — If the specified destination
does not have channels and the application
did not define default channels.
|
getProperties | () | methode |
public static function getProperties(destinationId:String):XMLList
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the property information for the specified destination
Parameters
destinationId:String — The id of the desired destination.
|
XMLList — XMLList containing the <property> tag information.
|
Gegenereerde uitzondering
InvalidDestinationError — If the specified destination is not found.
|
Wed Jun 13 2018, 11:42 AM Z