public class JmsPoolQueueBrowser extends Object implements javax.jms.QueueBrowser, AutoCloseable
QueueBrowser which was created by JmsPoolSession.| Constructor and Description |
|---|
JmsPoolQueueBrowser(JmsPoolSession session,
javax.jms.QueueBrowser delegate)
Wraps the QueueBrowser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Enumeration<?> |
getEnumeration() |
String |
getMessageSelector() |
javax.jms.Queue |
getQueue() |
javax.jms.QueueBrowser |
getQueueBrowser() |
String |
toString() |
public JmsPoolQueueBrowser(JmsPoolSession session, javax.jms.QueueBrowser delegate)
session - the pooled session that created this object.delegate - the created QueueBrowser to wrap.public javax.jms.Queue getQueue()
throws javax.jms.JMSException
getQueue in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic String getMessageSelector() throws javax.jms.JMSException
getMessageSelector in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic Enumeration<?> getEnumeration() throws javax.jms.JMSException
getEnumeration in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic void close()
throws javax.jms.JMSException
close in interface AutoCloseableclose in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic javax.jms.QueueBrowser getQueueBrowser()
throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2017–2018. All rights reserved.