Package All Classes All Fields and Methods Deprecated


com.ibm.connector2.ims.ico
Class IMSManagedConnectionMetaData

java.lang.Object
  extended bycom.ibm.connector2.ims.ico.IMSManagedConnectionMetaData
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData

public class IMSManagedConnectionMetaData
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionMetaData

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 Summary
IMSManagedConnectionMetaData()
           
 
Method Summary
 java.lang.String getEISProductName()
          Returns the product name of the Enterprise Information System (EIS).
 java.lang.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.
 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

public IMSManagedConnectionMetaData()
Method Detail

getEISProductName

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.

Specified by:
getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String representing the product name of IMS Connect and IMS, for example, "IMS Connect/IMS"

getEISProductVersion

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 Connector for Java.

Specified by:
getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String representing the version of the \ IMS Connect and IMS, for example, "IMS Connect 2.1/IMS V8 or later"

getMaxConnections

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.

Specified by:
getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
A value of 0, as this information is currently not available.

getUserName

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.

Specified by:
getUserName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
String containing the user name.

Package All Classes All Fields and Methods Deprecated