com.p6spy.engine.spy
Class P6SpyDriverCore
java.lang.Object
com.p6spy.engine.spy.P6SpyDriverCore
- All Implemented Interfaces:
- java.sql.Driver
- Direct Known Subclasses:
- P6SpyDriver, P6SpyDriver2, P6SpyDriver3
- public abstract class P6SpyDriverCore
- extends java.lang.Object
- implements java.sql.Driver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
passthru
protected java.sql.Driver passthru
initialized
protected static boolean initialized
factories
protected static java.util.ArrayList factories
realDrivers
protected static java.util.ArrayList realDrivers
foundSpyProperties
protected static boolean foundSpyProperties
P6SpyDriverCore
public P6SpyDriverCore(java.lang.String _spydriver,
P6Factory _p6factory)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.sql.SQLException
initMethod
public static void initMethod(java.lang.String spydriver)
wrapConnection
public static java.sql.Connection wrapConnection(java.sql.Connection realConnection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getPassthru
public java.sql.Driver getPassthru()
setPassthru
public void setPassthru(java.sql.Driver inVar)
connect
public java.sql.Connection connect(java.lang.String p0,
java.util.Properties p1)
throws java.sql.SQLException
- Specified by:
connect
in interface java.sql.Driver
- Throws:
java.sql.SQLException
findPassthru
protected void findPassthru(java.lang.String url)
acceptsURL
public boolean acceptsURL(java.lang.String p0)
throws java.sql.SQLException
- for some reason the passthru is null, go create one
- Specified by:
acceptsURL
in interface java.sql.Driver
- Throws:
java.sql.SQLException
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String p0,
java.util.Properties p1)
throws java.sql.SQLException
- Specified by:
getPropertyInfo
in interface java.sql.Driver
- Throws:
java.sql.SQLException
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface java.sql.Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface java.sql.Driver
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface java.sql.Driver