Package javax.jms
Interface ConnectionMetaData
-
public interface ConnectionMetaData
AConnectionMetaData
object provides information describing theConnection
object.- Since:
- JMS 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getJMSMajorVersion()
Gets the Jakarta Messaging major version number.int
getJMSMinorVersion()
Gets the Jakarta Messaging minor version number.java.lang.String
getJMSProviderName()
Gets the Jakarta Messaging provider name.java.lang.String
getJMSVersion()
Gets the Jakarta Messaging API version.java.util.Enumeration
getJMSXPropertyNames()
Gets an enumeration of the JMSX property names.int
getProviderMajorVersion()
Gets the Jakarta Messaging provider major version number.int
getProviderMinorVersion()
Gets the Jakarta Messaging provider minor version number.java.lang.String
getProviderVersion()
Gets the Jakarta Messaging provider version.
-
-
-
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.
-
-