Websphere MQ Everyplace

com.ibm.mqe.jms
Class MQeConnectionMetaData

java.lang.Object
  |
  +--com.ibm.mqe.jms.MQeConnectionMetaData
All Implemented Interfaces:
javax.jms.ConnectionMetaData

public class MQeConnectionMetaData
extends java.lang.Object
implements javax.jms.ConnectionMetaData

A ConnectionMetaData object provides information describing the MQeConnection object.


Constructor Summary
MQeConnectionMetaData()
           
 
Method Summary
 int getJMSMajorVersion()
          Gets the JMS major version number.
 int getJMSMinorVersion()
          Gets the JMS minor version number.
 java.lang.String getJMSProviderName()
          Gets the JMS provider name.
 java.lang.String getJMSVersion()
          Gets the JMS API version.
 java.util.Enumeration getJMSXPropertyNames()
          Gets an enumeration of the JMSX property names.
 int getProviderMajorVersion()
          Gets the JMS provider major version number.
 int getProviderMinorVersion()
          Gets the JMS provider minor version number.
 java.lang.String getProviderVersion()
          Gets the JMS provider version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQeConnectionMetaData

public MQeConnectionMetaData()
Method Detail

getJMSVersion

public java.lang.String getJMSVersion()
                               throws javax.jms.JMSException
Gets the JMS API version.

Specified by:
getJMSVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS API version
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws javax.jms.JMSException
Gets the JMS major version number.

Specified by:
getJMSMajorVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS API major version number
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws javax.jms.JMSException
Gets the JMS minor version number.

Specified by:
getJMSMinorVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS API minor version number
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSProviderName

public java.lang.String getJMSProviderName()
                                    throws javax.jms.JMSException
Gets the JMS provider name.

Specified by:
getJMSProviderName in interface javax.jms.ConnectionMetaData
Returns:
the JMS provider name
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderVersion

public java.lang.String getProviderVersion()
                                    throws javax.jms.JMSException
Gets the JMS provider version.

Specified by:
getProviderVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS provider version
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws javax.jms.JMSException
Gets the JMS provider major version number.

Specified by:
getProviderMajorVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS provider major version number
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws javax.jms.JMSException
Gets the JMS provider minor version number.

Specified by:
getProviderMinorVersion in interface javax.jms.ConnectionMetaData
Returns:
the JMS provider minor version number
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSXPropertyNames

public java.util.Enumeration getJMSXPropertyNames()
                                           throws javax.jms.JMSException
Gets an enumeration of the JMSX property names.

Specified by:
getJMSXPropertyNames in interface javax.jms.ConnectionMetaData
Returns:
an Enumeration of JMSX property names
Throws:
javax.jms.JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

Websphere MQ Everyplace