com.genesyslab.omsdk.qil.applicationblocks.monitoring.getters
Class GetQueue

java.lang.Object
  extended bycom.genesyslab.omsdk.qil.applicationblocks.monitoring.getters.GetQueue

public class GetQueue
extends java.lang.Object

Shows how to retrieve a QILQueue instance. This class assumes that QIL factory has already been successfully initialized.


Constructor Summary
GetQueue()
           
 
Method Summary
 java.util.Collection getAllQueues()
          Retrieves all the queues and allows you to traverse throught the collection.
 QILQueue getQueue(java.lang.String queueID)
          Retrieves a QILQueue instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetQueue

public GetQueue()
Method Detail

getQueue

public QILQueue getQueue(java.lang.String queueID)
Retrieves a QILQueue instance.

Parameters:
queueID - queue identifier
Returns:
instance of a queue or if not found or the connection is loss then a null is returned.

getAllQueues

public java.util.Collection getAllQueues()
Retrieves all the queues and allows you to traverse throught the collection.

Returns:
the collection of the queues