| Pacote | mx.messaging.config |
| Classe | public class ServerConfig |
| Herança | ServerConfig Object |
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.
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| xml : XML
[static]
The XML configuration; this value must contain the relevant portions of
the <services> tag from the services-config.xml file.
| ServerConfig | ||
| Método | Definido por | ||
|---|---|---|---|
|
[static]
This method ensures that the destinations specified contain identical
channel definitions.
| ServerConfig | ||
|
[static]
Returns a shared instance of the configured Channel.
| ServerConfig | ||
|
[static]
Returns a shared ChannelSet for use with the specified destination
belonging to the service that handles the specified message type.
| ServerConfig | ||
|
[static]
Returns the property information for the specified destination
| ServerConfig | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| xml | propriedade |
xml:XML [read-write] The XML configuration; this value must contain the relevant portions of the <services> tag from the services-config.xml file.
public static function get xml():XML
public function set xml(value:XML):void
| checkChannelConsistency | () | método |
public static function checkChannelConsistency(destinationA:String, destinationB:String):void
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.
Parâmetros
destinationA:String — destinationA:String first destination to compare against
|
|
destinationB:String — destinationB:String second destination to compare channels with
|
| getChannel | () | método |
public static function getChannel(id:String, clustered:Boolean = false):Channel
Returns a shared instance of the configured Channel.
Parâmetros
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.
|
InvalidChannelError — If no Channel has the specified id.
|
| getChannelSet | () | método |
public static function getChannelSet(destinationId:String):ChannelSet
Returns a shared ChannelSet for use with the specified destination belonging to the service that handles the specified message type.
Parâmetros
destinationId:String — The target destination id.
|
ChannelSet — The ChannelSet.
|
InvalidDestinationError — If the specified destination
does not have channels and the application
did not define default channels.
|
| getProperties | () | método |
public static function getProperties(destinationId:String):XMLList
Returns the property information for the specified destination
Parâmetros
destinationId:String — The id of the desired destination.
|
XMLList — XMLList containing the <property> tag information.
|
InvalidDestinationError — If the specified destination is not found.
|