bsys.database.DriverShim Class Reference

Inherits java::sql::Driver.

Collaboration diagram for bsys.database.DriverShim:
Collaboration graph
[legend]

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  ) 

Constructor

Parameters:
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:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:43:50 2010 for WordNetScope by  doxygen 1.6.3