com.mockrunner.mock.jms
Class MockTemporaryTopic

java.lang.Object
  extended bycom.mockrunner.mock.jms.MockDestination
      extended bycom.mockrunner.mock.jms.MockTopic
          extended bycom.mockrunner.mock.jms.MockTemporaryTopic
All Implemented Interfaces:
javax.jms.Destination, javax.jms.TemporaryTopic, javax.jms.Topic

public class MockTemporaryTopic
extends MockTopic
implements javax.jms.TemporaryTopic


Constructor Summary
MockTemporaryTopic()
           
 
Method Summary
 void delete()
           
 boolean isDeleted()
          Returns if this temporary topic is deleted.
 
Methods inherited from class com.mockrunner.mock.jms.MockTopic
addMessage, getTopicName
 
Methods inherited from class com.mockrunner.mock.jms.MockDestination
acknowledgeMessage, addSession, clear, currentMessageList, getCurrentMessageList, getMatchingMessage, getMessage, getReceivedMessageList, isEmpty, receivedMessageList, reset, sessionSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic
getTopicName, toString
 

Constructor Detail

MockTemporaryTopic

public MockTemporaryTopic()
Method Detail

isDeleted

public boolean isDeleted()
Returns if this temporary topic is deleted.

Returns:
true if this topic is deleted

delete

public void delete()
            throws javax.jms.JMSException
Specified by:
delete in interface javax.jms.TemporaryTopic
Throws:
javax.jms.JMSException