Package com.swiftmq.jms.v630
Class QueueBrowserImpl
- java.lang.Object
-
- com.swiftmq.jms.v630.QueueBrowserImpl
-
- All Implemented Interfaces:
Recreatable
,RequestRetryValidator
,java.util.Enumeration
,javax.jms.QueueBrowser
public class QueueBrowserImpl extends java.lang.Object implements javax.jms.QueueBrowser, java.util.Enumeration, Recreatable, RequestRetryValidator
-
-
Constructor Summary
Constructors Constructor Description QueueBrowserImpl(SessionImpl mySession, javax.jms.Queue queue, java.lang.String messageSelector, int dispatchId, int browserDispatchId, RequestRegistry requestRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Enumeration
getEnumeration()
java.lang.String
getMessageSelector()
javax.jms.Queue
getQueue()
java.util.List
getRecreatables()
Request
getRecreateRequest()
boolean
hasMoreElements()
java.lang.Object
nextElement()
void
setRecreateReply(Reply reply)
void
validate(Request request)
protected void
verifyState()
-
-
-
Constructor Detail
-
QueueBrowserImpl
public QueueBrowserImpl(SessionImpl mySession, javax.jms.Queue queue, java.lang.String messageSelector, int dispatchId, int browserDispatchId, RequestRegistry requestRegistry)
-
-
Method Detail
-
getRecreateRequest
public Request getRecreateRequest()
- Specified by:
getRecreateRequest
in interfaceRecreatable
-
setRecreateReply
public void setRecreateReply(Reply reply)
- Specified by:
setRecreateReply
in interfaceRecreatable
-
getRecreatables
public java.util.List getRecreatables()
- Specified by:
getRecreatables
in interfaceRecreatable
-
validate
public void validate(Request request) throws ValidationException
- Specified by:
validate
in interfaceRequestRetryValidator
- Throws:
ValidationException
-
verifyState
protected void verifyState() throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
getQueue
public javax.jms.Queue getQueue() throws javax.jms.JMSException
- Specified by:
getQueue
in interfacejavax.jms.QueueBrowser
- Throws:
javax.jms.JMSException
-
getMessageSelector
public java.lang.String getMessageSelector() throws javax.jms.JMSException
- Specified by:
getMessageSelector
in interfacejavax.jms.QueueBrowser
- Throws:
javax.jms.JMSException
-
getEnumeration
public java.util.Enumeration getEnumeration() throws javax.jms.JMSException
- Specified by:
getEnumeration
in interfacejavax.jms.QueueBrowser
- Throws:
javax.jms.JMSException
-
close
public void close() throws javax.jms.JMSException
- Specified by:
close
in interfacejavax.jms.QueueBrowser
- Throws:
javax.jms.JMSException
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration
-
nextElement
public java.lang.Object nextElement() throws java.util.NoSuchElementException
- Specified by:
nextElement
in interfacejava.util.Enumeration
- Throws:
java.util.NoSuchElementException
-
-