com.mockrunner.mock.jms
Class MockTemporaryTopic

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

public class MockTemporaryTopic
extends MockTopic
implements javax.jms.TemporaryTopic

Mock implementation of JMS TemporaryTopic.

See Also:
Serialized Form

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, addCurrentMessage, addReceivedMessage, addSession, clear, getCurrentMessageList, getMatchingMessage, getMessage, getReceivedMessageList, isEmpty, loadMessage, removeSession, 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