public class SpyDriver
extends java.lang.Object
implements java.sql.Driver
| Modifier and Type | Field and Description |
|---|---|
protected static L10N |
L |
protected static java.util.logging.Logger |
log |
| Constructor and Description |
|---|
SpyDriver(java.sql.Driver driver,
DriverConfig driverConfig)
Creates a new SpyDriver.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(java.lang.String url) |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties fine) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties fine) |
boolean |
jdbcCompliant() |
protected void |
log(long start,
java.lang.String msg) |
protected long |
start() |
java.lang.String |
toString() |
protected static final java.util.logging.Logger log
protected static final L10N L
public SpyDriver(java.sql.Driver driver,
DriverConfig driverConfig)
protected long start()
protected void log(long start,
java.lang.String msg)
public boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
acceptsURL in interface java.sql.Driverjava.sql.SQLExceptionpublic java.sql.Connection connect(java.lang.String url,
java.util.Properties fine)
throws java.sql.SQLException
connect in interface java.sql.Driverjava.sql.SQLExceptionpublic int getMajorVersion()
getMajorVersion in interface java.sql.Driverpublic int getMinorVersion()
getMinorVersion in interface java.sql.Driverpublic java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties fine)
throws java.sql.SQLException
getPropertyInfo in interface java.sql.Driverjava.sql.SQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface java.sql.Driverpublic java.util.logging.Logger getParentLogger()
getParentLogger in interface java.sql.Driverpublic java.lang.String toString()
toString in class java.lang.Object