站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

SpyDestination (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyDestination

java.lang.Object
  extended byorg.jboss.mq.SpyDestination
All Implemented Interfaces:
javax.jms.Destination, Serializable
Direct Known Subclasses:
SpyQueue, SpyTopic

public class SpyDestination
extends Object
implements javax.jms.Destination, Serializable

This class implements javax.jms.Destination

Version:
$Revision: 1.5.2.1 $
Author:
Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), David Maplesden (David.Maplesden@orion.co.nz), Adrian Brock
See Also:
Serialized Form

Field Summary
protected  int hash
          The hash code
protected  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
 String getName()
          Gets the name of the destination.
 int hashCode()
           
static javax.jms.Destination readDest(ObjectInput in)
          Read a destination
static void writeDest(ObjectOutput out, javax.jms.Destination 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

OBJECT

protected static final int OBJECT
An object

See Also:
Constant Field Values

SPY_QUEUE

protected static final int SPY_QUEUE
A queue

See Also:
Constant Field Values

SPY_TOPIC

protected static final int SPY_TOPIC
A topic

See Also:
Constant Field Values

SPY_TEMP_QUEUE

protected static final int SPY_TEMP_QUEUE
A temporary queue

See Also:
Constant Field Values

SPY_TEMP_TOPIC

protected static final int SPY_TEMP_TOPIC
A temporary topic

See Also:
Constant Field Values

name

protected String name
The name


hash

protected int hash
The hash code

Method Detail

writeDest

public static void writeDest(ObjectOutput out,
                             javax.jms.Destination dest)
                      throws IOException
Write the destination

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

readDest

public static javax.jms.Destination readDest(ObjectInput in)
                                      throws IOException
Read a destination

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

getName

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

Returns:
the name

hashCode

public int hashCode()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.