flex.messaging
Class MessageDestination

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.Destination
          extended by flex.messaging.FactoryDestination
              extended by flex.messaging.MessageDestination
All Implemented Interfaces:
Manageable, FlexComponent, FlexConfigurable, Serializable

public class MessageDestination
extends FactoryDestination

A logical reference to a MessageDestination.

See Also:
Serialized Form

Field Summary
static String LOG_CATEGORY
          Log category for MessageDestination.
 
Constructor Summary
MessageDestination()
          Constructs an unmanaged MessageDestination instance.
MessageDestination(boolean enableManagement)
          Constructs a MessageDestination with the indicated management.
 
Method Summary
 ServerSettings getServerSettings()
          Returns the ServerSettings of the MessageDestination.
 void initialize(String id, ConfigMap properties)
          Initializes the MessageDestination with the properties.
 void setNetworkSettings(NetworkSettings networkSettings)
          Sets the NetworkSettings of the MessageDestination.
 void setServerSettings(ServerSettings serverSettings)
          Sets the ServerSettings of the MessageDestination.
 void setService(Service service)
          Casts the Service into MessageService and calls super.setService.
 void stop()
          This method first calls stop on its superclass and then cleans up the SubscriptionManager.
 
Methods inherited from class flex.messaging.FactoryDestination
getFactory, getFactoryInstance, getScope, getSource, setFactory, setFactory, setScope, setSource
 
Methods inherited from class flex.messaging.Destination
addChannel, addExtraProperty, createAdapter, describeDestination, getAdapter, getChannels, getExtraProperty, getNetworkSettings, getSecurityConstraint, getService, getServiceType, isBackendShared, isClustered, removeChannel, setAdapter, setChannels, setId, setSecurityConstraint, setSecurityConstraint, start
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, isManaged, isStarted, isValid, setControl, setManaged, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_CATEGORY

public static final String LOG_CATEGORY
Log category for MessageDestination.

See Also:
Constant Field Values
Constructor Detail

MessageDestination

public MessageDestination()
Constructs an unmanaged MessageDestination instance.


MessageDestination

public MessageDestination(boolean enableManagement)
Constructs a MessageDestination with the indicated management.

Parameters:
enableManagement - true if the MessageDestination is manageable; otherwise false.
Method Detail

initialize

public void initialize(String id,
                       ConfigMap properties)
Initializes the MessageDestination with the properties. If subclasses override, they must call super.initialize().

Specified by:
initialize in interface FlexConfigurable
Overrides:
initialize in class FactoryDestination
Parameters:
id - The id of the destination.
properties - Properties for the MessageDestination.

stop

public void stop()
This method first calls stop on its superclass and then cleans up the SubscriptionManager.

Specified by:
stop in interface FlexComponent
Overrides:
stop in class FactoryDestination

setNetworkSettings

public void setNetworkSettings(NetworkSettings networkSettings)
Sets the NetworkSettings of the MessageDestination.

Overrides:
setNetworkSettings in class Destination
Parameters:
networkSettings - The NetworkSettings of the MessageDestination

getServerSettings

public ServerSettings getServerSettings()
Returns the ServerSettings of the MessageDestination.

Returns:
The ServerSettings of the MessageDestination.

setServerSettings

public void setServerSettings(ServerSettings serverSettings)
Sets the ServerSettings of the MessageDestination.

Parameters:
serverSettings - The ServerSettings of the MessageDestination

setService

public void setService(Service service)
Casts the Service into MessageService and calls super.setService.

Overrides:
setService in class Destination
Parameters:
service - The Service managing this Destination.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/MessageDestination.html