com.ibm.mq.jms

Class MQConnectionMetaData

  • All Implemented Interfaces:
    JmsConnectionMetaData, JmsPropertyContext, JmsReadablePropertyContext, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.ConnectionMetaData


    public class MQConnectionMetaData
    extends MQRoot
    implements javax.jms.ConnectionMetaData, JmsConnectionMetaData
    MQConnectionMetaData provides information that describes the connection. Instance of this object should be obtained from the connection, and not created directly. Use the com.ibm.msg.client.jms.Version API to obtain static version information.
    See Also:
    Serialized Form
    • Constructor Detail

      • MQConnectionMetaData

        public MQConnectionMetaData()
        Deprecated. Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which uses bindings connection.
      • MQConnectionMetaData

        public MQConnectionMetaData(int conntype)
        Deprecated. Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which permits a choice of connection types.
        Parameters:
        conntype - connection type. Valid types are:
    • Method Detail

      • getJMSMajorVersion

        public int getJMSMajorVersion()
        Gets the JMS major version number.
        Specified by:
        getJMSMajorVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS major version number
      • getJMSMinorVersion

        public int getJMSMinorVersion()
        Gets the JMS minor version number.
        Specified by:
        getJMSMinorVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS minor version number
      • getJMSProviderName

        public java.lang.String getJMSProviderName()
        Gets the JMS provider name.
        Specified by:
        getJMSProviderName in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS provider name
      • getJMSVersion

        public java.lang.String getJMSVersion()
        Gets the JMS API version.
        Specified by:
        getJMSVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS API version
      • 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 the JMSX property names
        Throws:
        javax.jms.JMSException
      • getProviderMajorVersion

        public int getProviderMajorVersion()
        Unless the provider version has been defined by the user this method gets the JMS provider version's major number for the mode of operation with the following values: 8 - normal mode 7 - normal mode with restrictions 6 - migration mode
        Specified by:
        getProviderMajorVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS provider version's major number.
      • getProviderMinorVersion

        public int getProviderMinorVersion()
        Unless the provider version has been defined by the user this method gets the JMS provider version's minor number for the mode of operation.
        Specified by:
        getProviderMinorVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS provider version's minor number.
      • getProviderVersion

        public java.lang.String getProviderVersion()
        Unless the provider version has been defined by the user this method gets the JMS provider version's number for the mode of operation with the following values: 8.0.0.0 - normal mode 7.0.0.0 - normal mode with restrictions 6.0.0.0 - migration mode
        Specified by:
        getProviderVersion in interface javax.jms.ConnectionMetaData
        Returns:
        the JMS provider version.
      • toString

        public java.lang.String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.