Package javax.jms

Interface ConnectionMetaData


  • public interface ConnectionMetaData
    A ConnectionMetaData object provides information describing the Connection object.
    Since:
    JMS 1.0
    • Method Detail

      • getJMSVersion

        java.lang.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

        java.lang.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

        java.lang.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

        java.util.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.