|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.client.JBossBrowser
A browser
Constructor Summary | |
JBossBrowser(BrowserDelegate (src) delegate,
Queue (src) queue,
java.lang.String selector)
Create a new JBossBrowser |
Method Summary | |
void |
close()
Closes the QueueBrowser . |
java.util.Enumeration |
getEnumeration()
Gets an enumeration for browsing the current queue messages in the order they would be received. |
java.lang.String |
getMessageSelector()
Gets this queue browser's message selector expression. |
Queue (src) |
getQueue()
Gets the queue associated with this queue browser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JBossBrowser(BrowserDelegate (src) delegate, Queue (src) queue, java.lang.String selector) throws JMSException (src)
delegate
- the delegatequeue
- the queueselector
- the selector
JMSException (src)
- for any errorMethod Detail |
public void close() throws JMSException (src)
QueueBrowser (src)
QueueBrowser
.
Since a provider may allocate some resources on behalf of a QueueBrowser outside the Java virtual machine, clients should close them when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.
close
in interface QueueBrowser (src)
JMSException (src)
- if the JMS provider fails to close this
browser due to some internal error.public java.util.Enumeration getEnumeration() throws JMSException (src)
QueueBrowser (src)
getEnumeration
in interface QueueBrowser (src)
JMSException (src)
- if the JMS provider fails to get the
enumeration for this browser
due to some internal error.public java.lang.String getMessageSelector() throws JMSException (src)
QueueBrowser (src)
getMessageSelector
in interface QueueBrowser (src)
JMSException (src)
- if the JMS provider fails to get the
message selector for this browser
due to some internal error.public Queue (src) getQueue() throws JMSException (src)
QueueBrowser (src)
getQueue
in interface QueueBrowser (src)
JMSException (src)
- if the JMS provider fails to get the
queue associated with this browser
due to some internal error.
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |