Joram ${version}

org.objectweb.joram.client.jms
Class QueueBrowser

java.lang.Object
  extended byorg.objectweb.joram.client.jms.QueueBrowser
All Implemented Interfaces:
javax.jms.QueueBrowser

public class QueueBrowser
extends java.lang.Object
implements javax.jms.QueueBrowser

Implements the javax.jms.QueueBrowser interface.


Method Summary
 void close()
          API method.
 java.util.Enumeration getEnumeration()
          API method.
 java.lang.String getMessageSelector()
          API method.
 javax.jms.Queue getQueue()
          API method.
 java.lang.String toString()
          Returns a string view of this browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Returns a string view of this browser.


getQueue

public javax.jms.Queue getQueue()
                         throws javax.jms.JMSException
API method.

Specified by:
getQueue in interface javax.jms.QueueBrowser
Throws:
javax.jms.IllegalStateException - If the browser is closed.
javax.jms.JMSException

getMessageSelector

public java.lang.String getMessageSelector()
                                    throws javax.jms.JMSException
API method.

Specified by:
getMessageSelector in interface javax.jms.QueueBrowser
Throws:
javax.jms.IllegalStateException - If the browser is closed.
javax.jms.JMSException

getEnumeration

public java.util.Enumeration getEnumeration()
                                     throws javax.jms.JMSException
API method.

Specified by:
getEnumeration in interface javax.jms.QueueBrowser
Throws:
javax.jms.IllegalStateException - If the browser is closed, or if the connection is broken.
JMSSecurityException - If the client is not a READER on the queue.
javax.jms.JMSException - If the request fails for any other reason.

close

public void close()
           throws javax.jms.JMSException
API method.

Specified by:
close in interface javax.jms.QueueBrowser
Throws:
javax.jms.JMSException - Actually never thrown.

Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved