|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
jrun.jms.core.client.JmsDestination
This is the base class for all destinations. All desitnation have a name.
| 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 | |
boolean |
getDynamic()
Return the dynamic state of this destination |
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 |
setDynamic(boolean flag)
Determine whether the destination is dynamic or not |
void |
setPersistent(boolean flag)
Determine whether the destination is persistent or not |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput stream)
|
| Methods inherited from interface javax.naming.Referenceable |
getReference |
| Constructor Detail |
public JmsDestination()
protected JmsDestination(java.lang.String name)
name - name of the queue| Method Detail |
public java.lang.String getName()
public void setDynamic(boolean flag)
flag - true for dynamicpublic boolean getDynamic()
public void setPersistent(boolean flag)
flag - true for persistentpublic boolean getPersistent()
public java.lang.String toString()
public int hashCode()
public void writeExternal(java.io.ObjectOutput stream)
throws java.io.IOException
writeExternal in interface java.io.Externalizable
public void readExternal(java.io.ObjectInput stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablepublic boolean isTemporaryDestination()
destination - destination to testpublic static boolean isTemporaryDestination(DestinationImpl destination)
destination - destination to test
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||