|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.pool.ConnectionKey
public class ConnectionKey
A Key to retrieve Connection in cache.
Field Summary | |
---|---|
private java.lang.String |
name
the name of user. |
private java.lang.String |
pass
the password of user. |
Constructor Summary | |
---|---|
ConnectionKey(java.lang.String name,
java.lang.String pass)
Creates a new ConnectionKey object for user's name and password. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private java.lang.String pass
Constructor Detail |
---|
public ConnectionKey(java.lang.String name, java.lang.String pass)
name
- the name of user.pass
- the password of user.Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |