org.jboss.jms.destination
Class JBossDestination

java.lang.Object
  extended byorg.jboss.jms.destination.JBossDestination
All Implemented Interfaces:
Destination (src) , javax.naming.Referenceable, java.io.Serializable
Direct Known Subclasses:
JBossQueue (src) , JBossTopic (src)

public class JBossDestination
extends java.lang.Object
implements Destination (src) , javax.naming.Referenceable, java.io.Serializable

A destination

See Also:
Serialized Form

Constructor Summary
JBossDestination(java.lang.String name)
          Construct a new destination
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Retrieve the name
 javax.naming.Reference getReference()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JBossDestination

public JBossDestination(java.lang.String name)
Construct a new destination

Parameters:
name - the name
Method Detail

getName

public java.lang.String getName()
                         throws JMSException (src) 
Retrieve the name

Returns:
the name
Throws:
JMSExeption - for any error
JMSException (src)

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()