public class MockQueueBrowser
extends java.lang.Object
implements javax.jms.QueueBrowser, java.io.Serializable
QueueBrowser.| Constructor and Description |
|---|
MockQueueBrowser(MockConnection connection,
MockQueue queue) |
MockQueueBrowser(MockConnection connection,
MockQueue queue,
java.lang.String messageSelector) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.util.Enumeration |
getEnumeration() |
java.lang.String |
getMessageSelector() |
javax.jms.Queue |
getQueue() |
boolean |
isClosed()
Returns if this browser was closed.
|
public MockQueueBrowser(MockConnection connection, MockQueue queue)
public MockQueueBrowser(MockConnection connection, MockQueue queue, java.lang.String messageSelector)
public boolean isClosed()
true if this browser is closedpublic javax.jms.Queue getQueue()
throws javax.jms.JMSException
getQueue in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic java.lang.String getMessageSelector()
throws javax.jms.JMSException
getMessageSelector in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic java.util.Enumeration getEnumeration()
throws javax.jms.JMSException
getEnumeration in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionpublic void close()
throws javax.jms.JMSException
close in interface javax.jms.QueueBrowserjavax.jms.JMSExceptionCopyright © 2003-2014. All Rights Reserved.