java.lang.Object | +----com.ibm.connector2.ims.ico.IMSManagedConnectionMetaData
public class IMSManagedConnectionMetaData
extends Object
The IMSManagedConnectionMetaData class provides information about a ManagedConnection instance and the associated Enterprise Information System (EIS). For IMS Connector for Java, the EIS includes IMS and IMS Connect.
Constructor | Description |
IMSManagedConnectionMetaData() |
Method | Description |
String getEISProductName() | Returns the product name of the Enterprise Information System (EIS). |
String getEISProductVersion() | Returns the product version of the Enterprise Information System (EIS). |
int getMaxConnections() | Returns the maximum number of concurrent connections that IMS Connect can support. |
String getUserName() | Returns the user name for this connection, as known by IMS Connect. |
public IMSManagedConnectionMetaData()
public 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"
public 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 Connector for Java.
- Returns
- String representing the version of the \ IMS Connect and IMS, for example, "IMS Connect 2.1/IMS V8 or later"
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 Connector for Java. 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.
public 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.