org.jboss.jms.destination
Class JBossDestination
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
direct
protected boolean direct
JBossDestination
public JBossDestination(java.lang.String name)
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.