com.github.smokestack.jms
Class MockQueueBrowser

java.lang.Object
  extended by com.github.smokestack.jms.MockQueueBrowser
All Implemented Interfaces:
QueueBrowser

public class MockQueueBrowser
extends Object
implements QueueBrowser

Author:
gliptak

Nested Class Summary
static class MockQueueBrowser.QueueBrowserState
           
 
Field Summary
protected  String messageSelector
           
protected  MockQueueBrowser.QueueBrowserState mockState
           
protected  Queue queue
           
 
Constructor Summary
MockQueueBrowser(Queue queue)
           
 
Method Summary
 void _close()
           
 Enumeration _getEnumeration()
           
 String _getMessageSelector()
           
 Queue _getQueue()
           
 void close()
           
 Enumeration getEnumeration()
           
 String getMessageSelector()
           
 Queue getQueue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

messageSelector

protected String messageSelector

queue

protected Queue queue

mockState

protected MockQueueBrowser.QueueBrowserState mockState
Constructor Detail

MockQueueBrowser

public MockQueueBrowser(Queue queue)
Method Detail

close

public void close()
           throws JMSException
Specified by:
close in interface QueueBrowser
Throws:
JMSException

_close

public void _close()
            throws JMSException
Throws:
JMSException

getEnumeration

public Enumeration getEnumeration()
                           throws JMSException
Specified by:
getEnumeration in interface QueueBrowser
Throws:
JMSException

_getEnumeration

public Enumeration _getEnumeration()
                            throws JMSException
Throws:
JMSException

getMessageSelector

public String getMessageSelector()
                          throws JMSException
Specified by:
getMessageSelector in interface QueueBrowser
Throws:
JMSException

_getMessageSelector

public String _getMessageSelector()
                           throws JMSException
Throws:
JMSException

getQueue

public Queue getQueue()
               throws JMSException
Specified by:
getQueue in interface QueueBrowser
Throws:
JMSException

_getQueue

public Queue _getQueue()
                throws JMSException
Throws:
JMSException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 Smokestack. All Rights Reserved.