|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
com.sssw.jbroker.orb.ValueWrapper
com.sssw.jms.api.JMQAdministeredObject
com.sssw.jms.api.JMQDestination
com.sssw.jms.api.JMQQueue
A Novell exteNd Messaging Platform JMS queue object encapsulates a queue name. It is the way a client specifies the identity of queues to JMS methods.
JMQDestination
,
Serialized FormField Summary |
Fields inherited from class com.sssw.jms.api.JMQDestination |
QUEUE, TOPIC |
Method Summary | |
String |
getBrokerName()
Get the broker name serving this Queue. |
static JMQQueue |
getQueue(String queueName)
Construct a Novell exteNd Messaging Platform JMS queue object with a given name. |
static JMQQueue |
getQueue(String queueName,
String brokerName)
Construct a Novell exteNd Messaging Platform JMS queue object with a given name, which is bound to a particular broker in a cluster. |
String |
getQueueName()
Get the name of this Queue. |
Reference |
getReference()
Get a JNDI reference for this queue. |
void |
setBrokerName(String brokerName)
Set the broker name where this Queue resides. |
void |
setQueueName(String queueName)
Set the name of this Queue. |
String |
toString()
Return a pretty printed version of the queue name. |
Methods inherited from class com.sssw.jms.api.JMQDestination |
getName, getType, toNative |
Methods inherited from class com.sssw.jbroker.orb.ValueWrapper |
_ids |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static final JMQQueue getQueue(String queueName)
The constructed object is a handle to the queue with the given name running inside the Novell exteNd Messaging Platform JMS server.
Note that the preferred/portable way to get queue objects is via JNDI.
queueName
- The queue name.
public static final JMQQueue getQueue(String queueName, String brokerName)
The constructed object is a handle to the queue with the given name running inside the Novell exteNd Messaging Platform JMS server.
Note that the preferred/portable way to get queue objects is via JNDI.
queueName
- The queue name.brokerName
- The broker name where queue resides.
public String toString()
toString
in interface Queue
toString
in class ObjectImpl
public void setQueueName(String queueName)
queueName
- the name of queuepublic String getQueueName() throws JMSException
getQueueName
in interface Queue
JMSException
- not raised by this implementationpublic void setBrokerName(String brokerName)
brokerName
- name of broker were Queue residespublic String getBrokerName()
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
- if the JNDI reference could not be created
|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |