org.jboss.jms.destination
Class JBossDestination
java.lang.Object
org.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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JBossDestination
public JBossDestination(java.lang.String name)
- Construct a new destination
- Parameters:
name
- the name
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()