org.jboss.mq
Class SpyDestination

java.lang.Object
  extended byorg.jboss.mq.SpyDestination
All Implemented Interfaces:
Destination (src) , java.io.Serializable
Direct Known Subclasses:
SpyQueue (src) , SpyTopic (src)

public class SpyDestination
extends java.lang.Object
implements Destination (src) , java.io.Serializable

This class implements javax.jms.Destination

See Also:
Serialized Form

Field Summary
protected  int hash
          The hash code
protected  java.lang.String name
          The name
protected static int NULL
          Null object
protected static int OBJECT
          An object
protected static int SPY_QUEUE
          A queue
protected static int SPY_TEMP_QUEUE
          A temporary queue
protected static int SPY_TEMP_TOPIC
          A temporary topic
protected static int SPY_TOPIC
          A topic
 
Method Summary
 java.lang.String getName()
          Gets the name of the destination.
 int hashCode()
           
static Destination (src) readDest(java.io.ObjectInput in)
          Read a destination
static void writeDest(java.io.ObjectOutput out, Destination (src)  dest)
          Write the destination
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

protected static final int NULL
Null object

See Also:
Constant Field Values (src)

OBJECT

protected static final int OBJECT
An object

See Also:
Constant Field Values (src)

SPY_QUEUE

protected static final int SPY_QUEUE
A queue

See Also:
Constant Field Values (src)

SPY_TOPIC

protected static final int SPY_TOPIC
A topic

See Also:
Constant Field Values (src)

SPY_TEMP_QUEUE

protected static final int SPY_TEMP_QUEUE
A temporary queue

See Also:
Constant Field Values (src)

SPY_TEMP_TOPIC

protected static final int SPY_TEMP_TOPIC
A temporary topic

See Also:
Constant Field Values (src)

name

protected java.lang.String name
The name


hash

protected int hash
The hash code

Method Detail

writeDest

public static void writeDest(java.io.ObjectOutput out,
                             Destination (src)  dest)
                      throws java.io.IOException
Write the destination

Parameters:
out - the output
dest - the destination
Throws:
java.io.IOException - for any error

readDest

public static Destination (src)  readDest(java.io.ObjectInput in)
                            throws java.io.IOException
Read a destination

Parameters:
in - the input
Returns:
the destination
Throws:
java.io.IOException - for any error

getName

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

Returns:
the name

hashCode

public int hashCode()