Class Hierarchy All Classes All Fields and Methods

Class com.ibm.connector2.ims.ico.IMSConnectionRequestInfo

java.lang.Object
        com.ibm.connector2.ims.ico.IMSConnectionRequestInfo

public class IMSConnectionRequestInfo
implements ConnectionRequestInfo
extends Object

The IMSConnectionRequestInfo class is part of IMS Connector for Java's implementation of the system contract and allows IMS Connector for Java to pass its own request specific data structure across the connection request flow. An IMSConnectionRequestInfo instance contains client-specific information (e.g., userName, password, groupName and clientID) and is typically used by a connection manager when creating connections for or allocating existing connections from a connection pool.

IMS Connector for Java also provides an implementation, com.ibm.connector2.ims.ico.IMSConnectionSpec, of the CCI interface javax.resource.cci.ConnectionSpec. The properties of IMSConnectionRequestInfo are usually populated with the values of corresponding properties from the IMSConnectionSpec object being used. As a result, an application component would typically use IMSConnectionSpec rather than IMSConnectionRequestInfo to pass connection-related information.

Constructor Index
Constructor Description
IMSConnectionRequestInfo()  
Method Index
Method Description
boolean equals(Object) Determines if the passed instance is equal to the IMSConnectionRequestInfo instance.
String getClientID() Returns the value of the clientID property.
String getGroupName() Returns the value of the groupName property.
String getPassword() Returns the value of the password property.
String getUserName() Returns the value of the userName property.
int hashCode() Used to return a hash code representation of the user name, password, and IMS group name.
void setClientID(String) Sets the value of the clientID property.
void setGroupName(String) Sets the value of the groupName property.
void setPassword(String) Sets the value of the password property.
void setUserName(String) Sets the value of the userName property.

Constructors

IMSConnectionRequestInfo

public IMSConnectionRequestInfo() 

Methods

equals

public boolean equals(Object obj) 

Determines if the passed instance is equal to the IMSConnectionRequestInfo instance.

getClientID

public final String getClientID() 

Returns the value of the clientID property. This property contains the clientID used by IMS Connect to identify the connection to be used for this interaction. This property is used only for Commit Mode 0 transactions or interactions using interactionVerb SYNC_RECEIVE_ASYNCOUTPUT.

getGroupName

public final String getGroupName() 

Returns the value of the groupName property. This property contains the group name used by the Security Access Facility (RACF) to authenticate the user.

getPassword

public final String getPassword() 

Returns the value of the password property. This property contains the password to be used by the Security Access Facility (RACF) to authenticate the user.

getUserName

public final String getUserName() 

Returns the value of the userName property. This property contains the user name to be used by the Security Access Facility (RACF) to authenticate the user.

hashCode

public int hashCode() 

Used to return a hash code representation of the user name, password, and IMS group name. Now, always returns a value of 1.

setClientID

public final void setClientID(String aClientID) 

Sets the value of the clientID property. This property contains the clientID used by IMS Connect to identify the connection to be used for this interaction. This property is used only for Commit Mode 0 transactions or interactions using interactionVerb SYNC_RECEIVE_ASYNCOUTPUT.

setGroupName

public final void setGroupName(String aGroupName) 

Sets the value of the groupName property. This property contains the group name used by the Security Access Facility (RACF) to authenticate the user.

setPassword

public final void setPassword(String aPassword) 

Sets the value of the password property. This property contains the password to be used by the Security Access Facility (RACF) to authenticate the user.

setUserName

public final void setUserName(String aUserName) 

Sets the value of the userName property. This property contains the user name to be used by the Security Access Facility (RACF) to authenticate the user.

Class Hierarchy All Classes All Fields and Methods