|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.J2HODConnectionSpec
This class is used by an application component to pass connection request-specific properties to the ConnectionFactory.getConnection() method.
It is recommended that the ConnectionSpec interface to be implemented as JavaBean to support tools. The properties on the ConnectionSpec implementation class must be defined through the getter and setter methods pattern.
The CCI specification defines a set of standard properties for a ConnectionSpec. The properties are defined either on a derived interface or an implementation class of an empty ConnectionSpec interface. In addition, a resource adapter may define additional properties specific to its underlying EIS.
See also: javax.resource.cci.ConnectionFactory
Constructor Summary | |
J2HODConnectionSpec()
Creates a J2HODConnectionSpec instance. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Returns whether the other object is equal to current object. |
java.lang.String |
getPassword()
Gets password. |
java.lang.String |
getUserName()
Returns user name. |
int |
hashCode()
Returns a hashcode integer. |
void |
setPassword(java.lang.String newPassword)
Sets current password with a new password. |
void |
setUserName(java.lang.String newUserName)
Sets 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 J2HODConnectionSpec()
Method Detail |
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- Object - other objectpublic java.lang.String getPassword()
public java.lang.String getUserName()
public int hashCode()
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 |