com.caucho.jms.connection
Class QueueBrowserImpl

java.lang.Object
  extended by com.caucho.jms.connection.QueueBrowserImpl
All Implemented Interfaces:
QueueBrowser

public class QueueBrowserImpl
extends java.lang.Object
implements QueueBrowser

A basic queue.


Field Summary
protected  AbstractQueue _queue
           
 
Method Summary
 void close()
           
 java.util.Enumeration getEnumeration()
          Returns an enumeration of the matching messages.
 java.lang.String getMessageSelector()
          Returns the message selector.
 Queue getQueue()
          Returns the browser's queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_queue

protected AbstractQueue _queue
Method Detail

getQueue

public Queue getQueue()
               throws JMSException
Returns the browser's queue.

Specified by:
getQueue in interface QueueBrowser
Throws:
JMSException

getMessageSelector

public java.lang.String getMessageSelector()
                                    throws JMSException
Returns the message selector.

Specified by:
getMessageSelector in interface QueueBrowser
Throws:
JMSException

getEnumeration

public java.util.Enumeration getEnumeration()
                                     throws JMSException
Returns an enumeration of the matching messages.

Specified by:
getEnumeration in interface QueueBrowser
Throws:
JMSException

close

public void close()
           throws JMSException
Specified by:
close in interface QueueBrowser
Throws:
JMSException