|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.SpyDestination (src)
org.jboss.mq.SpyQueue (src)
org.jboss.mq.SpyTemporaryQueue
This class implements javax.jms.TemporaryQueue
Field Summary |
Fields inherited from class org.jboss.mq.SpyDestination (src) |
hash, name, NULL, OBJECT, SPY_QUEUE, SPY_TEMP_QUEUE, SPY_TEMP_TOPIC, SPY_TOPIC |
Constructor Summary | |
SpyTemporaryQueue(java.lang.String queueName,
ConnectionToken (src) dc_)
Create a new SpyTemporaryQueue |
Method Summary | |
void |
delete()
Deletes this temporary queue. |
void |
setConnection(Connection (src) con)
Client-side temporary queues need a reference to the connection that created them in case delete() is called. |
Methods inherited from class org.jboss.mq.SpyQueue (src) |
equals, getQueueName, getReference, toString |
Methods inherited from class org.jboss.mq.SpyDestination (src) |
getName, hashCode, readDest, writeDest |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Queue (src) |
getQueueName, toString |
Constructor Detail |
public SpyTemporaryQueue(java.lang.String queueName, ConnectionToken (src) dc_)
queueName
- the queue namedc_
- the connection tokenMethod Detail |
public void setConnection(Connection (src) con)
con
- the connectionpublic void delete() throws JMSException (src)
TemporaryQueue (src)
JMSException
will be thrown.
delete
in interface TemporaryQueue (src)
JMSException (src)
- if the JMS provider fails to delete the
temporary queue due to some internal error.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |