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 | Description |
---|---|
IMSConnectionRequestInfo() |
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. |
public IMSConnectionRequestInfo()
public boolean equals(Object obj)Determines if the passed instance is equal to the IMSConnectionRequestInfo instance.
- Parameters
- obj - The instance to check.
- Returns
- True if the instances are equal; false otherwise.
- Overrides
- equals in class Object
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.
- Returns
- The clientID value.
- See Also
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.
- Returns
- The groupName value.
- See Also
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.
- Returns
- The password value.
- See Also
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.
- Returns
- The userName value.
- See Also
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.
- Returns
- The hash code representation.
- Overrides
- hashCode in class Object
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.
- Parameters
- aClientID - The new clientID value.
- See Also
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.
- Parameters
- aGroupName - The new groupName value.
- See Also
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.
- Parameters
- aPassword - The new password value.
- See Also
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.
- Parameters
- aUserName - The new userName value.
- See Also