|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprogress.message.jclient.Queue
public class Queue
A Queue object encapsulates a provider-specific queue name. It is the way a client specifies the identity of queue to JMS methods. The actual length of time messages are held by a queue and the consequences of resource overflow are not defined by JMS.
Queue
,
Serialized FormConstructor Summary | |
---|---|
Queue()
Contruct a Queue. |
|
Queue(java.lang.String queueName)
Construct a Queue. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
java.lang.String |
getQueueName()
Get the name of this queue. |
javax.naming.Reference |
getReference()
Return a javax.naming.Reference object which contains the reference information necessary to create an object of the proper type. |
int |
hashCode()
|
void |
setName(java.lang.String name)
|
void |
setQueueName(java.lang.String name)
Set the queue name. |
java.lang.String |
toString()
Return a pretty printed version of the queue name. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Queue(java.lang.String queueName) throws JMSException
queueName
- the name of the queue
JMSException
public Queue()
setQueueName(java.lang.String)
Method Detail |
---|
public java.lang.String getQueueName() throws JMSException
Clients that depend upon the name, are not portable.
getQueueName
in interface Queue
JMSException
- if JMS implementation for Queue fails to
to return queue name due to some internal
error.public void setQueueName(java.lang.String name) throws JMSException
name
- The queue name
JMSException
public java.lang.String toString()
toString
in interface Queue
toString
in class java.lang.Object
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
- if Reference naming failspublic void setName(java.lang.String name) throws JMSException
JMSException
public java.lang.String getName() throws JMSException
JMSException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |