Package org.apache.activemq
Class ActiveMQConnectionMetaData
- java.lang.Object
-
- org.apache.activemq.ActiveMQConnectionMetaData
-
- All Implemented Interfaces:
ConnectionMetaData
public final class ActiveMQConnectionMetaData extends Object implements ConnectionMetaData
AConnectionMetaData
object provides information describing theConnection
object.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_PLATFORM_DETAILS
static ActiveMQConnectionMetaData
INSTANCE
static String
PLATFORM_DETAILS
static int
PROVIDER_MAJOR_VERSION
static int
PROVIDER_MINOR_VERSION
static String
PROVIDER_NAME
static String
PROVIDER_VERSION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
PROVIDER_NAME
public static final String PROVIDER_NAME
- See Also:
- Constant Field Values
-
DEFAULT_PLATFORM_DETAILS
public static final String DEFAULT_PLATFORM_DETAILS
- See Also:
- Constant Field Values
-
PLATFORM_DETAILS
public static final String PLATFORM_DETAILS
-
INSTANCE
public static final ActiveMQConnectionMetaData INSTANCE
-
-
Method Detail
-
getJMSVersion
public String getJMSVersion()
Gets the JMS API version.- Specified by:
getJMSVersion
in interfaceConnectionMetaData
- Returns:
- the JMS API version
-
getJMSMajorVersion
public int getJMSMajorVersion()
Gets the JMS major version number.- Specified by:
getJMSMajorVersion
in interfaceConnectionMetaData
- Returns:
- the JMS API major version number
-
getJMSMinorVersion
public int getJMSMinorVersion()
Gets the JMS minor version number.- Specified by:
getJMSMinorVersion
in interfaceConnectionMetaData
- Returns:
- the JMS API minor version number
-
getJMSProviderName
public String getJMSProviderName()
Gets the JMS provider name.- Specified by:
getJMSProviderName
in interfaceConnectionMetaData
- Returns:
- the JMS provider name
-
getProviderVersion
public String getProviderVersion()
Gets the JMS provider version.- Specified by:
getProviderVersion
in interfaceConnectionMetaData
- Returns:
- the JMS provider version
-
getProviderMajorVersion
public int getProviderMajorVersion()
Gets the JMS provider major version number.- Specified by:
getProviderMajorVersion
in interfaceConnectionMetaData
- Returns:
- the JMS provider major version number
-
getProviderMinorVersion
public int getProviderMinorVersion()
Gets the JMS provider minor version number.- Specified by:
getProviderMinorVersion
in interfaceConnectionMetaData
- Returns:
- the JMS provider minor version number
-
getJMSXPropertyNames
public Enumeration<String> getJMSXPropertyNames()
Gets an enumeration of the JMSX property names.- Specified by:
getJMSXPropertyNames
in interfaceConnectionMetaData
- Returns:
- an Enumeration of JMSX property names
-
-