bsys.database.DriverShim Class Reference
Inherits java::sql::Driver.
List of all members.
Public Member Functions |
| DriverShim (final Driver thisDriver) |
boolean | acceptsURL (final String u) throws SQLException |
Connection | connect (final String u, final Properties p) throws SQLException |
int | getMajorVersion () |
int | getMinorVersion () |
DriverPropertyInfo[] | getPropertyInfo (final String u, final Properties p) throws SQLException |
boolean | jdbcCompliant () |
Static Public Member Functions |
static Driver | loadDelegateDriver (final String thisFilePath, final String thisDriverClass) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException |
Detailed Description
Driver encapsulation : DriverManager won't register classes from classloaders other than available to system root class loader
- Author:
- Bernard Bou
Constructor & Destructor Documentation
bsys.database.DriverShim.DriverShim |
( |
final Driver |
thisDriver |
) |
|
Member Function Documentation
static Driver bsys.database.DriverShim.loadDelegateDriver |
( |
final String |
thisFilePath, |
|
|
final String |
thisDriverClass | |
|
) |
| | throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException [static] |
Load delegate driver
- Parameters:
-
| thisFilePath | filepath to driver |
| thisDriverClass | driver class name |
- Returns:
- Loaded driver
- Exceptions:
-
| MalformedURLException | |
| ClassNotFoundException | |
| InstantiationException | |
| IllegalAccessException | |
The documentation for this class was generated from the following file:
- /opt/devel/wnscope/WordNetScopeConfig/src/bsys/database/DriverShim.java