|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.J2HODConnectionRequestInfo
Enables a resource adapter to pass its own request specific data structure across the connection request flow. A resource adapter extends the empty interface to support its own data structures for a conection request.
A typical use allows a resource adapter to handle application component specified per-connection request properties (for example, client ID). The application server passes these properties back across to match/createManagedConnection calls on the resource adapter. These properties remain opaque to the application server during the connection request flow.
Once the J2HODConnectionRequestInfo reaches match/createManagedConnection methods on the ManagedConnectionFactory instance, the resource adapter uses this additional per-request information to do connection creation and matching.
See also: J2HODManagedConnection, J2HOD3270ManagedConnectionFactory, J2HOD5250ManagedConnectionFactory, J2HODCICSManagedConnectionFactory, J2HODVTManagedConnectionFactory
Constructor Summary | |
J2HODConnectionRequestInfo()
|
Method Summary | |
boolean |
equals(java.lang.Object other)
Returns a boolean value of whether this instance is equal to the other. |
java.lang.String |
getPassword()
Returns the password for the current user. |
java.lang.String |
getUserName()
Returns the user name. |
int |
hashCode()
Returns an integer hash code value of current user with current password. |
void |
setPassword(java.lang.String newPassword)
Sets current password with a new password. |
void |
setUserName(java.lang.String newUserName)
Replaces current user name with a new user name. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public J2HODConnectionRequestInfo()
Method Detail |
public boolean equals(java.lang.Object other)
equals
in interface javax.resource.spi.ConnectionRequestInfo
equals
in class java.lang.Object
public java.lang.String getPassword()
public java.lang.String getUserName()
public int hashCode()
hashCode
in interface javax.resource.spi.ConnectionRequestInfo
hashCode
in class java.lang.Object
public void setPassword(java.lang.String newPassword)
newPassword
- java.lang.String - a String specifying a passwordpublic void setUserName(java.lang.String newUserName)
newUserName
- java.lang.String - a String specifying a user name
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |