org.mockejb.jms
Class TopicSubscriberImpl

java.lang.Object
  extended byorg.mockejb.jms.MockConsumer
      extended byorg.mockejb.jms.TopicSubscriberImpl
All Implemented Interfaces:
javax.jms.MessageConsumer, javax.jms.TopicSubscriber

public class TopicSubscriberImpl
extends MockConsumer
implements javax.jms.TopicSubscriber

Author:
Dimitar Gospodinov

Constructor Summary
TopicSubscriberImpl(org.mockejb.jms.MockSession sess, MockTopic topic)
          Creates topic subscriber for the specified session and topic.
 
Method Summary
 boolean getNoLocal()
           
 javax.jms.Topic getTopic()
           
 
Methods inherited from class org.mockejb.jms.MockConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Constructor Detail

TopicSubscriberImpl

public TopicSubscriberImpl(org.mockejb.jms.MockSession sess,
                           MockTopic topic)
Creates topic subscriber for the specified session and topic.

Parameters:
sess - session
topic - topic
Method Detail

getTopic

public javax.jms.Topic getTopic()
                         throws javax.jms.JMSException
Specified by:
getTopic in interface javax.jms.TopicSubscriber
Throws:
javax.jms.JMSException
See Also:
TopicSubscriber.getTopic()

getNoLocal

public boolean getNoLocal()
                   throws javax.jms.JMSException
Specified by:
getNoLocal in interface javax.jms.TopicSubscriber
Throws:
javax.jms.JMSException
See Also:
TopicSubscriber.getNoLocal()