Joram 5.0.7

org.objectweb.joram.kclient
Class Destination

java.lang.Object
  extended by org.objectweb.joram.kclient.Destination
Direct Known Subclasses:
Queue, Topic

public abstract class Destination
extends java.lang.Object

A Destination object encapsulates a Joram's specific address.


Field Summary
static byte QUEUE
           
static byte TOPIC
           
 
Constructor Summary
Destination(java.lang.String uid, byte type, java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
          Returns the administrative name of the destination.
 byte getType()
          Non API method, should be hidden.
 java.lang.String getUID()
          Returns the unique internal name of the destination.
 boolean isQueue()
          Returns true if the destinatination is a queue.
 boolean isTopic()
          Returns true if the destinatination is a topic.
protected static Destination newInstance(java.lang.String uid, byte type, java.lang.String name)
          Non API method, should be hidden.
static byte stringToType(java.lang.String type)
          Non API method, should be hidden.
static java.lang.String typeToString(byte type)
          Non API method, should be hidden.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUEUE

public static final byte QUEUE
See Also:
Constant Field Values

TOPIC

public static final byte TOPIC
See Also:
Constant Field Values
Constructor Detail

Destination

public Destination(java.lang.String uid,
                   byte type,
                   java.lang.String name)
Method Detail

getUID

public java.lang.String getUID()
Returns the unique internal name of the destination.


getName

public java.lang.String getName()
Returns the administrative name of the destination.


isQueue

public boolean isQueue()
Returns true if the destinatination is a queue.


isTopic

public boolean isTopic()
Returns true if the destinatination is a topic.


getType

public byte getType()
Non API method, should be hidden.


typeToString

public static java.lang.String typeToString(byte type)
                                     throws JoramException
Non API method, should be hidden.

Throws:
JoramException

stringToType

public static byte stringToType(java.lang.String type)
                         throws JoramException
Non API method, should be hidden.

Throws:
JoramException

newInstance

protected static Destination newInstance(java.lang.String uid,
                                         byte type,
                                         java.lang.String name)
                                  throws JoramException
Non API method, should be hidden.

Throws:
JoramException

Joram 5.0.7

Copyright © 2005 Scalagent - All rights reserved