Oracle® Streams Advanced Queuing Java API Reference
Release 1 (10.1)

B12023-01

oracle.jms
Class AQjmsConnectionMetaData

java.lang.Object
  |
  +--oracle.jms.AQjmsConnectionMetaData
All Implemented Interfaces:
ConnectionMetaData

public class AQjmsConnectionMetaData
extends java.lang.Object
implements ConnectionMetaData

Oracle class implementing javax.jms.ConnectionMetaData. class AQjmsConnectionMetaData represents the Meta Data information available for a JMS Connection. This contains information like version number and vendor name of the JMS Server to which a Connection is created.


Constructor Summary
AQjmsConnectionMetaData()
           

 

Method Summary
 int getJMSMajorVersion()
          Get the JMS major version number.
 int getJMSMinorVersion()
          Get the JMS minor version number.
 java.lang.String getJMSProviderName()
          Get the JMS provider name.
 java.lang.String getJMSVersion()
          Get the JMS version.
 java.util.Enumeration getJMSXPropertyNames()
          Gets an enumeration of the JMSX property names.
 int getProviderMajorVersion()
          Get the JMS provider major version number.
 int getProviderMinorVersion()
          Get the JMS provider minor version number.
 java.lang.String getProviderVersion()
          Get the JMS provider version.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AQjmsConnectionMetaData

public AQjmsConnectionMetaData()
Method Detail

getJMSVersion

public java.lang.String getJMSVersion()
                               throws JMSException
Get the JMS version.
Specified by:
getJMSVersion in interface ConnectionMetaData
Returns:
the JMS version.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws JMSException
Get the JMS major version number.
Specified by:
getJMSMajorVersion in interface ConnectionMetaData
Returns:
the JMS major version number.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws JMSException
Get the JMS minor version number.
Specified by:
getJMSMinorVersion in interface ConnectionMetaData
Returns:
the JMS minor version number.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getJMSProviderName

public java.lang.String getJMSProviderName()
                                    throws JMSException
Get the JMS provider name.
Specified by:
getJMSProviderName in interface ConnectionMetaData
Returns:
the JMS provider name.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getProviderVersion

public java.lang.String getProviderVersion()
                                    throws JMSException
Get the JMS provider version.
Specified by:
getProviderVersion in interface ConnectionMetaData
Returns:
the JMS provider version.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws JMSException
Get the JMS provider major version number.
Specified by:
getProviderMajorVersion in interface ConnectionMetaData
Returns:
the JMS provider major version number.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws JMSException
Get the JMS provider minor version number.
Specified by:
getProviderMinorVersion in interface ConnectionMetaData
Returns:
the JMS provider minor version number.
Throws:
JMSException - if some internal error occurs in JMS implementation during the meta-data retrieval.

getJMSXPropertyNames

public java.util.Enumeration getJMSXPropertyNames()
                                           throws JMSException
Description copied from interface: ConnectionMetaData
Gets an enumeration of the JMSX property names.
Specified by:
getJMSXPropertyNames in interface ConnectionMetaData
Returns:
an Enumeration of JMSX property names
Throws:
JMSException - if the JMS provider fails to retrieve the metadata due to some internal error.

Oracle® Streams Advanced Queuing Java API Reference
Release 1 (10.1)

B12023-01

Copyright © 2003, Oracle. All Rights Reserved.