com.bristle.javalib.sql
Class ConnectionPool.SimpleDBConfig

java.lang.Object
  extended by com.bristle.javalib.sql.ConnectionPool.SimpleDBConfig
All Implemented Interfaces:
ConnectionPool.DBConfig
Enclosing class:
ConnectionPool

public static class ConnectionPool.SimpleDBConfig
extends Object
implements ConnectionPool.DBConfig

Sample class implementing the DBConfig interface.


Constructor Summary
ConnectionPool.SimpleDBConfig(String strDBURL, String strDBUsername, String strDBPassword)
          Constructor.
 
Method Summary
 String getDBPassword()
          Get the DB Password.
 String getDBURL()
          Get the DB URL.
 String getDBUsername()
          Get the DB Username.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPool.SimpleDBConfig

public ConnectionPool.SimpleDBConfig(String strDBURL,
                                     String strDBUsername,
                                     String strDBPassword)
Constructor.

Parameters:
strDBURL - DB URL used for connection
strDBUsername - DB username used for connection
strDBPassword - DB password used for connection
Method Detail

getDBURL

public String getDBURL()
Get the DB URL.

Specified by:
getDBURL in interface ConnectionPool.DBConfig
Returns:
The DB URL.

getDBUsername

public String getDBUsername()
Get the DB Username.

Specified by:
getDBUsername in interface ConnectionPool.DBConfig
Returns:
The DB Username.

getDBPassword

public String getDBPassword()
Get the DB Password.

Specified by:
getDBPassword in interface ConnectionPool.DBConfig
Returns:
The DB Password.