com.mockrunner.mock.jms
Class MockConnectionMetaData
java.lang.Object
com.mockrunner.mock.jms.MockConnectionMetaData
- All Implemented Interfaces:
- java.io.Serializable, javax.jms.ConnectionMetaData
public class MockConnectionMetaData
- extends java.lang.Object
- implements javax.jms.ConnectionMetaData, java.io.Serializable
Mock implementation of JMS ConnectionMetaData
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockConnectionMetaData
public MockConnectionMetaData()
addJMSXPropertyName
public void addJMSXPropertyName(java.lang.String name)
setJMSMajorVersion
public void setJMSMajorVersion(int jmsMajorVersion)
setJMSMinorVersion
public void setJMSMinorVersion(int jmsMinorVersion)
setJMSProviderName
public void setJMSProviderName(java.lang.String jmsProviderName)
setJMSVersion
public void setJMSVersion(java.lang.String jmsVersion)
setProviderMajorVersion
public void setProviderMajorVersion(int providerMajorVersion)
setProviderMinorVersion
public void setProviderMinorVersion(int providerMinorVersion)
setProviderVersion
public void setProviderVersion(java.lang.String providerVersion)
getJMSMajorVersion
public int getJMSMajorVersion()
throws javax.jms.JMSException
- Specified by:
getJMSMajorVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getJMSMinorVersion
public int getJMSMinorVersion()
throws javax.jms.JMSException
- Specified by:
getJMSMinorVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getJMSProviderName
public java.lang.String getJMSProviderName()
throws javax.jms.JMSException
- Specified by:
getJMSProviderName
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getJMSVersion
public java.lang.String getJMSVersion()
throws javax.jms.JMSException
- Specified by:
getJMSVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getJMSXPropertyNames
public java.util.Enumeration getJMSXPropertyNames()
throws javax.jms.JMSException
- Specified by:
getJMSXPropertyNames
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getProviderMajorVersion
public int getProviderMajorVersion()
throws javax.jms.JMSException
- Specified by:
getProviderMajorVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getProviderMinorVersion
public int getProviderMinorVersion()
throws javax.jms.JMSException
- Specified by:
getProviderMinorVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException
getProviderVersion
public java.lang.String getProviderVersion()
throws javax.jms.JMSException
- Specified by:
getProviderVersion
in interface javax.jms.ConnectionMetaData
- Throws:
javax.jms.JMSException