Pacchetto | mx.messaging.config |
Classe | public class ServerConfig |
Ereditarietà | ServerConfig Object |
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Proprietà | Definito da | ||
---|---|---|---|
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
xml : XML [statico]
The XML configuration; this value must contain the relevant portions of
the <services> tag from the services-config.xml file. | ServerConfig |
Metodo | Definito da | ||
---|---|---|---|
[statico]
This method ensures that the destinations specified contain identical
channel definitions. | ServerConfig | ||
[statico]
Returns a shared instance of the configured Channel. | ServerConfig | ||
[statico]
Returns a shared ChannelSet for use with the specified destination
belonging to the service that handles the specified message type. | ServerConfig | ||
[statico]
Returns the property information for the specified destination
| ServerConfig | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
xml | proprietà |
xml:XML
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Implementazione
public static function get xml():XML
public static function set xml(value:XML):void
checkChannelConsistency | () | metodo |
public static function checkChannelConsistency(destinationA:String, destinationB:String):void
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Parametri
destinationA:String — first destination to compare against
| |
destinationB:String — second destination to compare channels with
|
getChannel | () | metodo |
public static function getChannel(id:String, clustered:Boolean = false):Channel
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns a shared instance of the configured Channel.
Parametri
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.
|
Genera
InvalidChannelError — If no Channel has the specified id.
|
getChannelSet | () | metodo |
public static function getChannelSet(destinationId:String):ChannelSet
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | 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.
Parametri
destinationId:String — The target destination id.
|
ChannelSet — The ChannelSet.
|
Genera
InvalidDestinationError — If the specified destination
does not have channels and the application
did not define default channels.
|
getProperties | () | metodo |
public static function getProperties(destinationId:String):XMLList
Versione linguaggio: | ActionScript 3.0 |
Versioni prodotto: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the property information for the specified destination
Parametri
destinationId:String — The id of the desired destination.
|
XMLList — XMLList containing the <property> tag information.
|
Genera
InvalidDestinationError — If the specified destination is not found.
|
Tue Jun 12 2018, 02:44 PM Z