org.apache.activemq
Class ActiveMQConnectionMetaData

java.lang.Object
  extended by org.apache.activemq.ActiveMQConnectionMetaData
All Implemented Interfaces:
ConnectionMetaData

public final class ActiveMQConnectionMetaData
extends Object
implements ConnectionMetaData

A ConnectionMetaData object provides information describing the Connection object.


Field Summary
static ActiveMQConnectionMetaData INSTANCE
           
static int PROVIDER_MAJOR_VERSION
           
static int PROVIDER_MINOR_VERSION
           
static String PROVIDER_VERSION
           
 
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<String> 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVIDER_VERSION

public static final String PROVIDER_VERSION

PROVIDER_MAJOR_VERSION

public static final int PROVIDER_MAJOR_VERSION

PROVIDER_MINOR_VERSION

public static final int PROVIDER_MINOR_VERSION

INSTANCE

public static final ActiveMQConnectionMetaData INSTANCE
Method Detail

getJMSVersion

public String getJMSVersion()
Gets the JMS API version.

Specified by:
getJMSVersion in interface ConnectionMetaData
Returns:
the JMS API version

getJMSMajorVersion

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

Specified by:
getJMSMajorVersion in interface ConnectionMetaData
Returns:
the JMS API major version number

getJMSMinorVersion

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

Specified by:
getJMSMinorVersion in interface ConnectionMetaData
Returns:
the JMS API minor version number

getJMSProviderName

public String getJMSProviderName()
Gets the JMS provider name.

Specified by:
getJMSProviderName in interface ConnectionMetaData
Returns:
the JMS provider name

getProviderVersion

public String getProviderVersion()
Gets the JMS provider version.

Specified by:
getProviderVersion in interface ConnectionMetaData
Returns:
the JMS provider version

getProviderMajorVersion

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

Specified by:
getProviderMajorVersion in interface ConnectionMetaData
Returns:
the JMS provider major version number

getProviderMinorVersion

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

Specified by:
getProviderMinorVersion in interface ConnectionMetaData
Returns:
the JMS provider minor version number

getJMSXPropertyNames

public Enumeration<String> getJMSXPropertyNames()
Gets an enumeration of the JMSX property names.

Specified by:
getJMSXPropertyNames in interface ConnectionMetaData
Returns:
an Enumeration of JMSX property names


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.