|
||||||||||
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
org.exolab.jms.client.JmsQueue
org.exolab.jms.client.JmsTemporaryQueue
public class JmsTemporaryQueue
A temporary queue is created by a client through a session and has a lifetime of the session's connection.
Constructor Summary | |
---|---|
JmsTemporaryQueue()
Need a default constructor for the serialization |
Method Summary | |
---|---|
void |
delete()
|
java.lang.String |
getConnectionId()
Return the identity of the owning connection as a string |
org.exolab.jms.client.JmsConnection |
getOwningConnection()
Return the connection that owns this temporary destination. |
javax.naming.Reference |
getReference()
|
void |
readExternal(java.io.ObjectInput stream)
|
void |
setOwningConnection(org.exolab.jms.client.JmsConnection connection)
Set the connection that owns this temp destination. |
boolean |
validForConnection(org.exolab.jms.client.JmsConnection connection)
Checks whether the temporary destination is valid for the specified connection |
void |
writeExternal(java.io.ObjectOutput stream)
|
Methods inherited from class org.exolab.jms.client.JmsQueue |
---|
equals, getQueueName, hashCode |
Methods inherited from class org.exolab.jms.client.JmsDestination |
---|
getName, getPersistent, isTemporaryDestination, isTemporaryDestination, setPersistent, toString |
Methods inherited from class org.exolab.jms.message.DestinationImpl |
---|
clone, getDestination, isEqual |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Queue |
---|
getQueueName, toString |
Constructor Detail |
---|
public JmsTemporaryQueue()
Method Detail |
---|
public void delete() throws javax.jms.JMSException
delete
in interface javax.jms.TemporaryQueue
javax.jms.JMSException
public void setOwningConnection(org.exolab.jms.client.JmsConnection connection)
JmsTemporaryDestination
setOwningConnection
in interface JmsTemporaryDestination
public org.exolab.jms.client.JmsConnection getOwningConnection()
JmsTemporaryDestination
getOwningConnection
in interface JmsTemporaryDestination
public java.lang.String getConnectionId()
JmsTemporaryDestination
getConnectionId
in interface JmsTemporaryDestination
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
getReference
in class JmsQueue
public boolean validForConnection(org.exolab.jms.client.JmsConnection connection)
JmsTemporaryDestination
validForConnection
in interface JmsTemporaryDestination
connection
- - the connection to test against
public void writeExternal(java.io.ObjectOutput stream) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class JmsQueue
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 JmsQueue
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |