org.jboss.jms.server.endpoint.advised
Class BrowserAdvised
java.lang.Object
org.jboss.jms.server.endpoint.advised.AdvisedSupport
org.jboss.jms.server.endpoint.advised.BrowserAdvised
- All Implemented Interfaces:
- BrowserEndpoint, Closeable
- public class BrowserAdvised
- extends AdvisedSupport
- implements BrowserEndpoint
The server-side advised instance corresponding to a Browser. It is bound to the AOP
Dispatcher's map.
- Version:
- $Revision: 1.3 $
$Id: BrowserAdvised.java,v 1.3 2006/01/05 23:12:25 ovidiu Exp $
- Author:
- Tim Fox, Ovidiu Feodorov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
endpoint
protected BrowserEndpoint endpoint
BrowserAdvised
public BrowserAdvised(BrowserEndpoint endpoint)
close
public void close()
throws JMSException
- Description copied from interface:
Closeable
- Close the instance
- Specified by:
close in interface Closeable
- Throws:
JMSException
closing
public void closing()
throws JMSException
- Description copied from interface:
Closeable
- Tell the instance to prepare to close
- Specified by:
closing in interface Closeable
- Throws:
JMSException
hasNextMessage
public boolean hasNextMessage()
throws JMSException
- Specified by:
hasNextMessage in interface BrowserEndpoint
- Throws:
JMSException
nextMessage
public Message nextMessage()
throws JMSException
- Specified by:
nextMessage in interface BrowserEndpoint
- Throws:
JMSException
nextMessageBlock
public Message[] nextMessageBlock(int maxMessages)
throws JMSException
- Specified by:
nextMessageBlock in interface BrowserEndpoint
- Throws:
JMSException
getEndpoint
public java.lang.Object getEndpoint()
- Specified by:
getEndpoint in class AdvisedSupport
toString
public java.lang.String toString()
Copyright © 2006 JBoss Inc. All Rights Reserved.