|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.message.DestinationImpl
org.exolab.jms.client.JmsDestination
public abstract class JmsDestination
This is the base class for all destinations.
Constructor Summary | |
---|---|
|
JmsDestination()
Need a default constructor for the serialization |
protected |
JmsDestination(java.lang.String name)
Instantiate an instance of this object with the specified string |
Method Summary | |
---|---|
java.lang.String |
getName()
Return the name of the destination |
boolean |
getPersistent()
Return the persistent state of this destination |
int |
hashCode()
|
boolean |
isTemporaryDestination()
This static method determines whether a particular string refers to a temporary destination. |
static boolean |
isTemporaryDestination(DestinationImpl destination)
This static method determines whether a particular DestinationImpl instance refers to a temporary destination. |
void |
readExternal(java.io.ObjectInput stream)
|
void |
setPersistent(boolean flag)
Determine whether the destination is persistent or not |
java.lang.String |
toString()
Return a pretty printed version of the topic name. |
void |
writeExternal(java.io.ObjectOutput stream)
|
Methods inherited from class org.exolab.jms.message.DestinationImpl |
---|
clone, getDestination, isEqual |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.naming.Referenceable |
---|
getReference |
Constructor Detail |
---|
public JmsDestination()
protected JmsDestination(java.lang.String name)
name
- name of the destinationMethod Detail |
---|
public java.lang.String getName()
public void setPersistent(boolean flag)
flag
- true for persistentpublic boolean getPersistent()
public java.lang.String toString()
DestinationImpl
toString
in class DestinationImpl
public int hashCode()
hashCode
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput stream) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class DestinationImpl
java.io.IOException
public void readExternal(java.io.ObjectInput stream) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class DestinationImpl
java.io.IOException
java.lang.ClassNotFoundException
public boolean isTemporaryDestination()
destination
- destination to test
public static boolean isTemporaryDestination(DestinationImpl destination)
destination
- destination to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |