com.ibm.connector2.ims.ico

Class IMSManagedConnectionMetaData

  1. java.lang.Object
  2. extended bycom.ibm.connector2.ims.ico.IMSManagedConnectionMetaData

  1. public class IMSManagedConnectionMetaData
  2. extends java.lang.Object
The IMSManagedConnectionMetaData class provides information about a ManagedConnection instance and the associated Enterprise Information System (EIS). For IMS TM Resource Adapter, the EIS includes IMS and IMS Connect.

Constructor Summary

Constructor and Description
IMSManagedConnectionMetaData()

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getEISProductName()
Returns the product name of the Enterprise Information System (EIS).
  1. java.lang.String
getEISProductVersion()
Returns the product version of the Enterprise Information System (EIS).
  1. int
getMaxConnections()
Returns the maximum number of concurrent connections that IMS Connect can support.
  1. java.lang.String
getUserName()
Returns the user name for this connection, as known by IMS Connect.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

IMSManagedConnectionMetaData

  1. public IMSManagedConnectionMetaData( )

Method Detail

getEISProductName

  1. public java.lang.String getEISProductName( )
Returns the product name of the Enterprise Information System (EIS). For IMS Connector for Java, the product name of the EIS is IMS accessed via IMS Connect.
Returns:
String representing the product name of IMS Connect and IMS, for example, "IMS Connect/IMS"

getEISProductVersion

  1. public java.lang.String getEISProductVersion( )
Returns the product version of the Enterprise Information System (EIS). For IMS Connector for Java, the product version of the EIS is the minimum required versions of IMS and IMS Connect to use IMS TM Resource Adapter.
Returns:
String representing the version of the IMS Connect and IMS, for example, "IMS Connect 2.1/IMS V8 or later"

getMaxConnections

  1. public int getMaxConnections()
Returns the maximum number of concurrent connections that IMS Connect can support.

This information is currently not available using the getMaxConnections() method for this release of IMS TM Resource Adapter. The getMaxConnections() method always returns 0.

However, you can view the maximum number of sockets supported by IMS Connect by issuing the IMS Connect Command, VIEWHWS, on the host and referring to the MAXSOC field displayed on the console.

For information on MAXSOC, refer to the IMS Connect Defenition and Tailoring chapter of the IMS Connect Guide and Reference.

Returns:
A value of 0, as this information is currently not available.

getUserName

  1. public java.lang.String getUserName( )
Returns the user name for this connection, as known by IMS Connect.

This user name corresponds to the resource principal under whose security context the connection to IMS Connect was established.

Returns:
String containing the user name.