Paket | mx.messaging.config |
Klass | public class ServerConfig |
Arv | ServerConfig Object |
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
xml : XML [statisk]
The XML configuration; this value must contain the relevant portions of
the <services> tag from the services-config.xml file. | ServerConfig |
Metod | Definieras med | ||
---|---|---|---|
[statisk]
This method ensures that the destinations specified contain identical
channel definitions. | ServerConfig | ||
[statisk]
Returns a shared instance of the configured Channel. | ServerConfig | ||
[statisk]
Returns a shared ChannelSet for use with the specified destination
belonging to the service that handles the specified message type. | ServerConfig | ||
[statisk]
Returns the property information for the specified destination
| ServerConfig | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
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 |
xml | egenskap |
xml:XML
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Implementering
public static function get xml():XML
public static function set xml(value:XML):void
checkChannelConsistency | () | metod |
public static function checkChannelConsistency(destinationA:String, destinationB:String):void
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
destinationA:String — first destination to compare against
| |
destinationB:String — second destination to compare channels with
|
getChannel | () | metod |
public static function getChannel(id:String, clustered:Boolean = false):Channel
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns a shared instance of the configured Channel.
Parametrar
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.
|
Utlöser
InvalidChannelError — If no Channel has the specified id.
|
getChannelSet | () | metod |
public static function getChannelSet(destinationId:String):ChannelSet
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
destinationId:String — The target destination id.
|
ChannelSet — The ChannelSet.
|
Utlöser
InvalidDestinationError — If the specified destination
does not have channels and the application
did not define default channels.
|
getProperties | () | metod |
public static function getProperties(destinationId:String):XMLList
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the property information for the specified destination
Parametrar
destinationId:String — The id of the desired destination.
|
XMLList — XMLList containing the <property> tag information.
|
Utlöser
InvalidDestinationError — If the specified destination is not found.
|
Tue Jun 12 2018, 01:40 PM Z