jrun.jms.core.client
Class JmsQueue
jrun.jms.core.client.JmsQueue
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class JmsQueue
- implements java.io.Externalizable
This object represents a queue, which is a type of destination. A queue
is identified by name and two queues with the same name refer to the
same object.
- Version:
- $Revision: 1.9 $ $Date: 2001/06/21 20:53:05 $
- Author:
- Jim Alateras
- See Also:
- Serialized Form
|
Constructor Summary |
JmsQueue()
Need a default constructor for the serialization |
JmsQueue(java.lang.String name)
Instantiate an instance of a queue name |
JmsQueue
public JmsQueue()
- Need a default constructor for the serialization
JmsQueue
public JmsQueue(java.lang.String name)
- Instantiate an instance of a queue name
- Parameters:
name - queue name
getQueueName
public java.lang.String getQueueName()
throws javax.jms.JMSException
- Return the name of the queue
- Returns:
- name name of the queue
- Throws:
JMSException -
equals
public boolean equals(java.lang.Object object)
hashCode
public int hashCode()
writeExternal
public void writeExternal(java.io.ObjectOutput stream)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
getReference
public javax.naming.Reference getReference()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.