public abstract class AbstractQueueBrowserEnumeration extends Object implements Enumeration<AbstractMessage>
Base implementation for a QueueBrowser enumeration.
| Modifier and Type | Field and Description |
|---|---|
protected AbstractQueueBrowser |
browser |
protected boolean |
closed |
protected Object |
closeLock |
protected String |
id |
| Constructor and Description |
|---|
AbstractQueueBrowserEnumeration(AbstractQueueBrowser browser,
String enumId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkNotClosed()
Check that the queue browser
|
void |
close()
Close the enumeration
|
String |
getId() |
protected void |
onQueueBrowserEnumerationClose() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasMoreElements, nextElementprotected String id
protected AbstractQueueBrowser browser
protected Object closeLock
protected boolean closed
public AbstractQueueBrowserEnumeration(AbstractQueueBrowser browser, String enumId)
public final String getId()
public final void checkNotClosed()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic final void close()
protected void onQueueBrowserEnumerationClose()
Copyright © 2019. All rights reserved.