|
||||||||||
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()
Constructor provided for serialization. |
Method Summary | |
---|---|
static javax.jms.TemporaryQueue |
create(org.exolab.jms.client.JmsConnection connection)
Construct a new temporary queue. |
void |
delete()
|
long |
getConnectionId()
Return the identity of the owning connection |
org.exolab.jms.client.JmsConnection |
getOwningConnection()
Return the connection that owns this temporary destination. |
javax.naming.Reference |
getReference()
Retrieves the Reference of this object |
void |
readExternal(java.io.ObjectInput stream)
|
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 org.exolab.jms.client.JmsConnection getOwningConnection()
JmsTemporaryDestination
getOwningConnection
in interface JmsTemporaryDestination
public long getConnectionId()
JmsTemporaryDestination
getConnectionId
in interface JmsTemporaryDestination
public javax.naming.Reference getReference()
JmsQueue
Reference
of this object
getReference
in interface javax.naming.Referenceable
getReference
in class JmsQueue
Reference
of this objectpublic 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
public static javax.jms.TemporaryQueue create(org.exolab.jms.client.JmsConnection connection)
connection
- the connection owns that the queue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |