Package jakarta.jms

Interface ConnectionMetaData


public interface ConnectionMetaData
A ConnectionMetaData object provides information describing the Connection object.
Since:
JMS 1.0
Version:
Jakarta Messaging 2.0
  • Method Details

    • getJMSVersion

      String getJMSVersion() throws JMSException
      Gets the Jakarta Messaging API version.
      Returns:
      the Jakarta Messaging API version
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSMajorVersion

      int getJMSMajorVersion() throws JMSException
      Gets the Jakarta Messaging major version number.
      Returns:
      the Jakarta Messaging API major version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSMinorVersion

      int getJMSMinorVersion() throws JMSException
      Gets the Jakarta Messaging minor version number.
      Returns:
      the Jakarta Messaging API minor version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSProviderName

      String getJMSProviderName() throws JMSException
      Gets the Jakarta Messaging provider name.
      Returns:
      the Jakarta Messaging provider name
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderVersion

      String getProviderVersion() throws JMSException
      Gets the Jakarta Messaging provider version.
      Returns:
      the Jakarta Messaging provider version
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderMajorVersion

      int getProviderMajorVersion() throws JMSException
      Gets the Jakarta Messaging provider major version number.
      Returns:
      the Jakarta Messaging provider major version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderMinorVersion

      int getProviderMinorVersion() throws JMSException
      Gets the Jakarta Messaging provider minor version number.
      Returns:
      the Jakarta Messaging provider minor version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSXPropertyNames

      Enumeration getJMSXPropertyNames() throws JMSException
      Gets an enumeration of the JMSX property names.
      Returns:
      an Enumeration of JMSX property names
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.