public abstract class AbstractConnectionFactory extends Object implements ConnectionFactoryIF
| Modifier and Type | Field and Description |
|---|---|
protected String |
connstring |
protected String |
driver |
protected String |
password |
protected Map<String,String> |
properties |
protected int |
timeout |
protected String |
username |
| Constructor and Description |
|---|
AbstractConnectionFactory(Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
INTERNAL: Closes the connection factory.
|
protected String |
getConnectionString() |
protected String |
getDriver() |
protected String |
getPassword() |
protected String |
getUserName() |
static void |
loadSpyDriver() |
abstract Connection |
requestConnection()
INTERNAL: Requests a new connection object.
|
protected String connstring
protected String driver
protected String username
protected String password
protected int timeout
public abstract Connection requestConnection() throws SQLException
ConnectionFactoryIFrequestConnection in interface ConnectionFactoryIFSQLExceptionpublic void close()
ConnectionFactoryIFclose in interface ConnectionFactoryIFprotected String getConnectionString()
protected String getDriver()
protected String getUserName()
protected String getPassword()
public static void loadSpyDriver()