org.objectweb.joram.shared.admin

Class CreateDestinationRequest

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, String className)
Constructs a CreateDestinationRequest instance.
CreateDestinationRequest(int serverId, String name, String className)
Constructs a CreateDestinationRequest instance.

Method Summary

String
getClassName()
Returns the class name of destination (queue, topic, ...).
String
getDestinationName()
Returns the name attributed to the destination.
Properties
getProperties()
Returns the destination properties.
int
getServerId()
Returns the id of the server where deploying the destination.
void
setProperties(Properties prop)
Sets the destination properties.

Constructor Details

CreateDestinationRequest

public CreateDestinationRequest(int serverId,
                                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.


CreateDestinationRequest

public CreateDestinationRequest(int serverId,
                                String name,
                                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.

Method Details

getClassName

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


getDestinationName

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


getProperties

public Properties getProperties()
Returns the destination properties.


getServerId

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


setProperties

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


Copyright B) 2004 Scalagent - All rights reserved