public class GSQueueBrowserImpl extends Object implements javax.jms.QueueBrowser
javax.jms.QueueBrowser interface. A client uses a
 QueueBrowser object to look at messages on a m_queue without removing them.
 The getEnumeration method returns a java.util.Enumeration that is
 used to scan the m_queue's messages. It may be an enumeration of the entire content of a m_queue,
 or it may contain only the messages matching a message m_selector. (currently we support only a
 custom m_selector hash based implementation) The getEnumeration() calls the space  method which returns all the currently existing ExternalEntries from the
 specified Queue/class name.GSIterator
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
API method. 
 | 
Enumeration | 
getEnumeration()
API method. 
 | 
String | 
getMessageSelector()
API method. 
 | 
javax.jms.Queue | 
getQueue()
API method. 
 | 
String | 
toString()
Returns a string view of this browser. 
 | 
public String toString()
public javax.jms.Queue getQueue()
                         throws javax.jms.JMSException
getQueue in interface javax.jms.QueueBrowserjavax.jms.IllegalStateException - If the browser is m_closed.javax.jms.JMSExceptionpublic String getMessageSelector() throws javax.jms.JMSException
getMessageSelector in interface javax.jms.QueueBrowserjavax.jms.IllegalStateException - If the browser is m_closed.javax.jms.JMSExceptionpublic Enumeration getEnumeration() throws javax.jms.JMSException
getEnumeration in interface javax.jms.QueueBrowserjavax.jms.IllegalStateException - If the browser is m_closed, or if the connection is broken.javax.jms.JMSSecurityException - If the client is not a READER on the m_queue.javax.jms.JMSException - If the request fails for any other reason.public void close()
           throws javax.jms.JMSException
close in interface javax.jms.QueueBrowserjavax.jms.JMSException - Actually never thrown.Copyright © GigaSpaces.