站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

ConnectionMetaData (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.jms
Interface ConnectionMetaData


public interface ConnectionMetaData

A ConnectionMetaData object provides information describing the Connection object.


Method Summary
 int getJMSMajorVersion()
          Gets the JMS major version number.
 int getJMSMinorVersion()
          Gets the JMS minor version number.
 String getJMSProviderName()
          Gets the JMS provider name.
 String getJMSVersion()
          Gets the JMS API version.
 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.
 String getProviderVersion()
          Gets the JMS provider version.
 

Method Detail

getJMSVersion

public String getJMSVersion()
                     throws JMSException
Gets the JMS API version.

Returns:
the JMS API version
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSMajorVersion

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

Returns:
the JMS API major version number
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSMinorVersion

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

Returns:
the JMS API minor version number
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSProviderName

public String getJMSProviderName()
                          throws JMSException
Gets the JMS provider name.

Returns:
the JMS provider name
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderVersion

public String getProviderVersion()
                          throws JMSException
Gets the JMS provider version.

Returns:
the JMS provider version
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMajorVersion

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

Returns:
the JMS provider major version number
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMinorVersion

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

Returns:
the JMS provider minor version number
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSXPropertyNames

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

Returns:
an Enumeration of JMSX property names
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.