com.github.smokestack.jms
Class MockConnectionMetaData

java.lang.Object
  extended by com.github.smokestack.jms.MockConnectionMetaData
All Implemented Interfaces:
ConnectionMetaData

public class MockConnectionMetaData
extends Object
implements ConnectionMetaData

Author:
gliptak

Field Summary
protected  Vector jmsxProperties
           
 
Constructor Summary
MockConnectionMetaData()
           
 
Method Summary
 int getJMSMajorVersion()
           
 int getJMSMinorVersion()
           
 String getJMSProviderName()
           
 String getJMSVersion()
           
 Enumeration getJMSXPropertyNames()
           
 int getProviderMajorVersion()
           
 int getProviderMinorVersion()
           
 String getProviderVersion()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

jmsxProperties

protected Vector jmsxProperties
Constructor Detail

MockConnectionMetaData

public MockConnectionMetaData()
Method Detail

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws JMSException
Specified by:
getJMSMajorVersion in interface ConnectionMetaData
Throws:
JMSException

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws JMSException
Specified by:
getJMSMinorVersion in interface ConnectionMetaData
Throws:
JMSException

getJMSProviderName

public String getJMSProviderName()
                          throws JMSException
Specified by:
getJMSProviderName in interface ConnectionMetaData
Throws:
JMSException

getJMSVersion

public String getJMSVersion()
                     throws JMSException
Specified by:
getJMSVersion in interface ConnectionMetaData
Throws:
JMSException

getJMSXPropertyNames

public Enumeration getJMSXPropertyNames()
                                 throws JMSException
Specified by:
getJMSXPropertyNames in interface ConnectionMetaData
Throws:
JMSException

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws JMSException
Specified by:
getProviderMajorVersion in interface ConnectionMetaData
Throws:
JMSException

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws JMSException
Specified by:
getProviderMinorVersion in interface ConnectionMetaData
Throws:
JMSException

getProviderVersion

public String getProviderVersion()
                          throws JMSException
Specified by:
getProviderVersion in interface ConnectionMetaData
Throws:
JMSException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 Smokestack. All Rights Reserved.