com.github.smokestack.jms
Class MockTopic
java.lang.Object
com.github.smokestack.jms.MockTopic
- All Implemented Interfaces:
- Serializable, Destination, Topic, Referenceable
public class MockTopic
- extends Object
- implements Topic, Serializable, Referenceable
- Author:
- gliptak
- See Also:
- Serialized Form
topicName
protected String topicName
reference
protected Reference reference
MockTopic
public MockTopic(String topicName)
- Parameters:
topicName
-
getTopicName
public String getTopicName()
throws JMSException
- Specified by:
getTopicName
in interface Topic
- Throws:
JMSException
_getTopicName
public String _getTopicName()
throws JMSException
- Throws:
JMSException
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference
in interface Referenceable
- Throws:
NamingException
_getReference
public Reference _getReference()
throws NamingException
- Throws:
NamingException
setReference
public void setReference(Reference reference)
- Making a setter available
- Parameters:
reference
-
_setReference
public void _setReference(Reference reference)
toString
public String toString()
- Specified by:
toString
in interface Topic
- Overrides:
toString
in class Object
Copyright © 2009-2010 Smokestack. All Rights Reserved.