Joram ${version}

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 name, java.lang.String className, java.util.Properties props, java.lang.String expectedType)
          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.lang.String getExpectedType()
           
 java.util.Properties getProperties()
          Returns the destination properties.
 int getServerId()
          Returns the id of the server where deploying the destination.
 
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,
                                java.util.Properties props,
                                java.lang.String expectedType)
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.
Method Detail

getServerId

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


getDestinationName

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


getClassName

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


getProperties

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


getExpectedType

public final java.lang.String getExpectedType()

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved