|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.PBKey
public class PBKey
A immutable key to identify PB instances in pools, ...
The used jcdAlias name represents an alias for a connection
defined in the repository file.
| Constructor Summary | |
|---|---|
PBKey(String jcdAlias)
Convenience constructor for PBKey(jcdAlias, null, null). |
|
PBKey(String jcdAlias,
String user,
String password)
Creates a new PBKey. |
|
| Method Summary | |
|---|---|
protected Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getAlias()
Returns the jdbc connection descriptor name as defined in the repository file. |
String |
getPassword()
Returns the password. |
String |
getRepositoryFile()
Deprecated. use getAlias() instead. |
String |
getUser()
Returns the username. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PBKey(String jcdAlias,
String user,
String password)
jcdAlias - The jdbc connection descriptor name as defined in the repository fileuser - The usernamepassword - The passwordpublic PBKey(String jcdAlias)
PBKey(jcdAlias, null, null).
jcdAlias - The jdbc connection descriptor name as defined in the repository file| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Object
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String getAlias()
public String getRepositoryFile()
getAlias() instead.
public String getUser()
public String getPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||