org.objectweb.joram.shared.admin
Class CreateDestinationRequest

java.lang.Object
  extended byorg.objectweb.joram.shared.admin.AdminRequest
      extended byorg.objectweb.joram.shared.admin.CreateDestinationRequest
All Implemented Interfaces:
java.io.Serializable

public class CreateDestinationRequest
extends AdminRequest

A CreateDestinationRequest instance requests the creation of a destination on a given server.

See Also:
Serialized Form

Constructor Summary
CreateDestinationRequest(int serverId, java.lang.String className)
          Constructs a CreateDestinationRequest instance.
CreateDestinationRequest(int serverId, java.lang.String name, java.lang.String className)
          Constructs a CreateDestinationRequest instance.
 
Method Summary
 java.lang.String getClassName()
          Returns the class name of destination (queue, topic, ...).
 java.lang.String getDestinationName()
          Returns the name attributed to the destination.
 java.util.Properties getProperties()
          Returns the destination properties.
 int getServerId()
          Returns the id of the server where deploying the destination.
 void setProperties(java.util.Properties prop)
          Sets the destination properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDestinationRequest

public CreateDestinationRequest(int serverId,
                                java.lang.String name,
                                java.lang.String className)
Constructs a CreateDestinationRequest instance.

Parameters:
serverId - The id of the server where deploying the destination.
name - Name attributed to the destination.
className - Name of the class to be instanciated.

CreateDestinationRequest

public CreateDestinationRequest(int serverId,
                                java.lang.String className)
Constructs a CreateDestinationRequest instance.

Parameters:
serverId - The id of the server where deploying the destination.
className - Name of the class to be instanciated.
Method Detail

getServerId

public int getServerId()
Returns the id of the server where deploying the destination.


getDestinationName

public java.lang.String getDestinationName()
Returns the name attributed to the destination.


getClassName

public java.lang.String getClassName()
Returns the class name of destination (queue, topic, ...).


setProperties

public void setProperties(java.util.Properties prop)
Sets the destination properties.


getProperties

public java.util.Properties getProperties()
Returns the destination properties.



Copyright ? 2004 Scalagent - All rights reserved