public class MessageBrowserImpl extends java.lang.Object implements QueueBrowser
Modifier and Type | Class and Description |
---|---|
static class |
MessageBrowserImpl.BrowserEnumeration |
Constructor and Description |
---|
MessageBrowserImpl(JmsSession session,
AbstractQueue queue,
java.lang.String messageSelector) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.Enumeration |
getEnumeration() |
java.lang.String |
getMessageSelector() |
Queue |
getQueue() |
java.lang.String |
toString() |
public MessageBrowserImpl(JmsSession session, AbstractQueue queue, java.lang.String messageSelector) throws JMSException
JMSException
public Queue getQueue() throws JMSException
getQueue
in interface QueueBrowser
JMSException
public java.lang.String getMessageSelector() throws JMSException
getMessageSelector
in interface QueueBrowser
JMSException
public java.util.Enumeration getEnumeration() throws JMSException
getEnumeration
in interface QueueBrowser
JMSException
public void close() throws JMSException
close
in interface QueueBrowser
JMSException
public java.lang.String toString()
toString
in class java.lang.Object