flex.messaging.services.remoting
Class RemotingDestination

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

public class RemotingDestination
extends FactoryDestination

A logical reference to a RemotingDestination.

See Also:
Serialized Form

Field Summary
static String LOG_CATEGORY
          Log category for RemotingDestination.
static int NO_MESSAGE_BROKER
           
 
Constructor Summary
RemotingDestination()
          Constructs an unmanaged RemotingDestination instance.
RemotingDestination(boolean enableManagement)
          Constructs a RemotingDestination with the indicated management.
 
Method Summary
 String getLogCategory()
          Returns the log category of the RemotingDestination.
static RemotingDestination getRemotingDestination(String serverId, String destinationName)
          Retrieves the RemotingDestination for the supplied server id.
 void setService(Service service)
          Casts the Service into RemotingService and calls super.setService.
 
Methods inherited from class flex.messaging.FactoryDestination
getFactory, getFactoryInstance, getScope, getSource, initialize, setFactory, setFactory, setScope, setSource, stop
 
Methods inherited from class flex.messaging.Destination
addChannel, addExtraProperty, createAdapter, describeDestination, getAdapter, getChannels, getExtraProperty, getNetworkSettings, getSecurityConstraint, getService, getServiceType, isBackendShared, isClustered, removeChannel, setAdapter, setChannels, setId, setNetworkSettings, 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 RemotingDestination.

See Also:
Constant Field Values

NO_MESSAGE_BROKER

public static final int NO_MESSAGE_BROKER
See Also:
Constant Field Values
Constructor Detail

RemotingDestination

public RemotingDestination()
Constructs an unmanaged RemotingDestination instance.


RemotingDestination

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

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

getRemotingDestination

public static RemotingDestination getRemotingDestination(String serverId,
                                                         String destinationName)
Retrieves the RemotingDestination for the supplied server id. If serverId is null, the default MessageBroker instance is returned. You use this version of this method to retrieve a DataDestination if you are not in the context of processing a current message when you need the RemotingDestination.

Parameters:
serverId - id of the server containing the remoting destination to be retrieved.
destinationName - Name of the remoting destination to be retrieved.
Returns:
remoting destination corresponding to the supplied server id and destination name

getLogCategory

public String getLogCategory()
Returns the log category of the RemotingDestination.

Returns:
The log category of the component.

setService

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

Overrides:
setService in class Destination
Parameters:
service - the RemotingService to associate with 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/services/remoting/RemotingDestination.html