com.ibm.mq.jms
Class MQConnectionMetaData
- java.lang.Object
-
- com.ibm.mq.jms.MQRoot
-
- com.ibm.mq.jms.MQConnectionMetaData
-
- All Implemented Interfaces:
- JmsConnectionMetaData, JmsPropertyContext, JmsReadablePropertyContext, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.ConnectionMetaData
public class MQConnectionMetaData extends MQRoot implements javax.jms.ConnectionMetaData, JmsConnectionMetaData
MQConnectionMetaData provides information that describes the connection. Instance of this object should be obtained from the connection, and not created directly. Use the com.ibm.msg.client.jms.Version API to obtain static version information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MQConnectionMetaData()
Deprecated.Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which uses bindings connection.MQConnectionMetaData(int conntype)
Deprecated.Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which permits a choice of connection types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getJMSMajorVersion()
Gets the JMS major version number.int
getJMSMinorVersion()
Gets the JMS minor version number.java.lang.String
getJMSProviderName()
Gets the JMS provider name.java.lang.String
getJMSVersion()
Gets the JMS API version.java.util.Enumeration<?>
getJMSXPropertyNames()
Gets an enumeration of the JMSX property names.int
getProviderMajorVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's major number for the mode of operation with the following values: 8 - normal mode 7 - normal mode with restrictions 6 - migration modeint
getProviderMinorVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's minor number for the mode of operation.java.lang.String
getProviderVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's number for the mode of operation with the following values: 8.0.0.0 - normal mode 7.0.0.0 - normal mode with restrictions 6.0.0.0 - migration modejava.lang.String
toString()
Returns a string representation of the object.-
Methods inherited from class com.ibm.mq.jms.MQRoot
clear, containsKey, containsValue, entrySet, equals, get, getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, size, values
-
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext
setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
-
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists
-
-
-
-
Constructor Detail
-
MQConnectionMetaData
public MQConnectionMetaData()
Deprecated. Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which uses bindings connection.
-
MQConnectionMetaData
public MQConnectionMetaData(int conntype)
Deprecated. Please obtain the ConnectionMetaData from the Connection in question or use the Version API to obtain static version information Constructor which permits a choice of connection types.- Parameters:
conntype
- connection type. Valid types are:
-
-
Method Detail
-
getJMSMajorVersion
public int getJMSMajorVersion()
Gets the JMS major version number.- Specified by:
getJMSMajorVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS major version number
-
getJMSMinorVersion
public int getJMSMinorVersion()
Gets the JMS minor version number.- Specified by:
getJMSMinorVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS minor version number
-
getJMSProviderName
public java.lang.String getJMSProviderName()
Gets the JMS provider name.- Specified by:
getJMSProviderName
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS provider name
-
getJMSVersion
public java.lang.String getJMSVersion()
Gets the JMS API version.- Specified by:
getJMSVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS API version
-
getJMSXPropertyNames
public java.util.Enumeration<?> getJMSXPropertyNames() throws javax.jms.JMSException
Gets an enumeration of the JMSX property names.- Specified by:
getJMSXPropertyNames
in interfacejavax.jms.ConnectionMetaData
- Returns:
- an enumeration of the JMSX property names
- Throws:
javax.jms.JMSException
-
getProviderMajorVersion
public int getProviderMajorVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's major number for the mode of operation with the following values: 8 - normal mode 7 - normal mode with restrictions 6 - migration mode- Specified by:
getProviderMajorVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS provider version's major number.
-
getProviderMinorVersion
public int getProviderMinorVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's minor number for the mode of operation.- Specified by:
getProviderMinorVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS provider version's minor number.
-
getProviderVersion
public java.lang.String getProviderVersion()
Unless the provider version has been defined by the user this method gets the JMS provider version's number for the mode of operation with the following values: 8.0.0.0 - normal mode 7.0.0.0 - normal mode with restrictions 6.0.0.0 - migration mode- Specified by:
getProviderVersion
in interfacejavax.jms.ConnectionMetaData
- Returns:
- the JMS provider version.
-
toString
public java.lang.String toString()
Returns a string representation of the object.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of the object.
-
-