nl.gx.webmanager.services.datasource
Class ProviderAdapter
java.lang.Object
nl.gx.webmanager.services.datasource.ProviderAdapter
- All Implemented Interfaces:
- Provider
public abstract class ProviderAdapter
- extends java.lang.Object
- implements Provider
- Author:
- hallok
|
Field Summary |
protected java.sql.Driver |
driverInstance
Driver holding the instance of the specific underlaid database driver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driverInstance
protected java.sql.Driver driverInstance
- Driver holding the instance of the specific underlaid database driver.
ProviderAdapter
public ProviderAdapter()
createConnection
public java.sql.Connection createConnection(java.lang.String url)
throws java.sql.SQLException
- Specified by:
createConnection in interface Provider
- Throws:
java.sql.SQLException
createConnection
public java.sql.Connection createConnection(java.lang.String url,
java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
- Specified by:
createConnection in interface Provider
- Throws:
java.sql.SQLException
getDriverClassName
public abstract java.lang.String getDriverClassName()
- Specified by:
getDriverClassName in interface Provider
getSpecification
@Deprecated
public abstract java.lang.String getSpecification()
- Deprecated.
- Returns specification of provided DataSource in a human readable format.
- Specified by:
getSpecification in interface Provider
- Returns:
- specification of provided DataSource in a human readable format.
getValidationQuery
public java.lang.String getValidationQuery()
- Specified by:
getValidationQuery in interface Provider
Copyright © 2007-2011 GX Software BV. All Rights Reserved.