|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opennms.bb.common.components.BBDataRetriever
BBDataRetriever is the base for classes connecting to the database. The class contains the JDBC DriverManager fully qualified class path along with the database URL and authentication information.
Field Summary | |
protected String |
driver
Fully qualified class name for the JDBC driver for the SQL driver manager. |
protected String |
passwd
The password for the authenticating user. |
protected String |
url
The Uniform Resource Locator (URL) for connecting to the database. |
protected String |
user
The name of the user for authentication purposes when connecting to the database. |
Constructor Summary | |
protected |
BBDataRetriever(String driverName,
String url,
String user,
String passwd)
This constructor should be called by any derived class to initialize the base class. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected String driver
Fully qualified class name for the JDBC driver for the SQL driver manager.
protected String url
The Uniform Resource Locator (URL) for connecting to the database. This URL will be used by the DriverManager to connect to the remote/local Database.
protected String user
The name of the user for authentication purposes when connecting to the database.
protected String passwd
The password for the authenticating user.
Constructor Detail |
protected BBDataRetriever(String driverName, String url, String user, String passwd)
This constructor should be called by any derived class to initialize the base class. Since the member variables may only be accessed by a derived class the constructor is marked as protected also.
driverName
- The fully qualified class name of the JDBC driver.url
- The URL of the database for connection purposes.user
- The username for authentication.passwd
- The user's password for authentication.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |