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