| java.lang.Object org.apache.ojb.broker.PBKey
PBKey | public class PBKey implements Cloneable,Serializable(Code) | | A immutable key to identify PB instances in pools, ...
The used jcdAlias name represents an alias for a connection
defined in the repository file.
author: Armin Waibel version: $Id: PBKey.java,v 1.11.2.3 2005/12/21 22:22:07 tomdz Exp $ |
Constructor Summary | |
public | PBKey(String jcdAlias, String user, String password) Creates a new PBKey. | public | PBKey(String jcdAlias) Convenience constructor for PBKey(jcdAlias, null, null) . |
PBKey | public PBKey(String jcdAlias, String user, String password)(Code) | | Creates a new PBKey.
Parameters: jcdAlias - The jdbc connection descriptor name as defined in the repository file Parameters: user - The username Parameters: password - The password |
PBKey | public PBKey(String jcdAlias)(Code) | | Convenience constructor for PBKey(jcdAlias, null, null) .
Parameters: jcdAlias - The jdbc connection descriptor name as defined in the repository file |
getAlias | public String getAlias()(Code) | | Returns the jdbc connection descriptor name as defined in the repository file.
The JCD alias |
getPassword | public String getPassword()(Code) | | Returns the password.
The password |
getRepositoryFile | public String getRepositoryFile()(Code) | | Returns the jdbc connection descriptor name as defined in the repository file.
The JCD aliasPBKey.getAlias |
getUser | public String getUser()(Code) | | Returns the username.
The username |
hashCode | public int hashCode()(Code) | | |
|
|