Paquete | mx.messaging.config |
Clase | public class ServerConfig |
Herencia | ServerConfig Object |
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Propiedad | Definido por | ||
---|---|---|---|
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
xml : XML [estática]
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 | ||
---|---|---|---|
[estática]
This method ensures that the destinations specified contain identical
channel definitions. | ServerConfig | ||
[estática]
Returns a shared instance of the configured Channel. | ServerConfig | ||
[estática]
Returns a shared ChannelSet for use with the specified destination
belonging to the service that handles the specified message type. | ServerConfig | ||
[estática]
Returns the property information for the specified destination
| ServerConfig | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object |
xml | propiedad |
xml:XML
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Implementación
public static function get xml():XML
public static function set xml(value:XML):void
checkChannelConsistency | () | método |
public static function checkChannelConsistency(destinationA:String, destinationB:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
destinationA:String — first destination to compare against
| |
destinationB:String — second destination to compare channels with
|
getChannel | () | método |
public static function getChannel(id:String, clustered:Boolean = false):Channel
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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.
|
Emite
InvalidChannelError — If no Channel has the specified id.
|
getChannelSet | () | método |
public static function getChannelSet(destinationId:String):ChannelSet
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
destinationId:String — The target destination id.
|
ChannelSet — The ChannelSet.
|
Emite
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
Versión del lenguaje: | ActionScript 3.0 |
Versiones de producto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
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.
|
Emite
InvalidDestinationError — If the specified destination is not found.
|
Tue Jun 12 2018, 02:12 PM Z