org.jboss.jms.destination
Class JBossDestination

java.lang.Object
  extended by org.jboss.jms.destination.JBossDestination
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JBossQueue, JBossTopic

public abstract class JBossDestination
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 2868 $ $Id: JBossDestination.java 2868 2007-07-10 20:22:16Z timfox $
Author:
Ovidiu Feodorov, Tim Fox
See Also:
Serialized Form

Field Summary
protected  boolean direct
           
protected  java.lang.String name
           
 
Constructor Summary
JBossDestination(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 javax.naming.Reference getReference()
           
 int hashCode()
           
 boolean isDirect()
           
abstract  boolean isQueue()
           
 boolean isTemporary()
           
abstract  boolean isTopic()
           
static JBossDestination readDestination(java.io.DataInputStream in)
           
static void writeDestination(java.io.DataOutputStream out, Destination dest)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

direct

protected boolean direct
Constructor Detail

JBossDestination

public JBossDestination(java.lang.String name)
Method Detail

writeDestination

public static void writeDestination(java.io.DataOutputStream out,
                                    Destination dest)
                             throws java.io.IOException
Throws:
java.io.IOException

readDestination

public static JBossDestination readDestination(java.io.DataInputStream in)
                                        throws java.io.IOException
Throws:
java.io.IOException

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getName

public java.lang.String getName()

isTopic

public abstract boolean isTopic()

isQueue

public abstract boolean isQueue()

isTemporary

public boolean isTemporary()

isDirect

public boolean isDirect()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2006 JBoss Inc. All Rights Reserved.