net.sf.infrared.bootstrap.jdbc.oracle
Class InfraREDOracleDriver

java.lang.Object
  extended bynet.sf.infrared.bootstrap.jdbc.oracle.InfraREDOracleDriver
All Implemented Interfaces:
Driver

public class InfraREDOracleDriver
extends Object
implements Driver

Wrapper over Driver. Intercepts java.sql.Driver methods for monitoring.


Constructor Summary
InfraREDOracleDriver()
           
 
Method Summary
 boolean acceptsURL(String url)
           
 Connection connect(String url, Properties properties)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
           
 boolean jdbcCompliant()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfraREDOracleDriver

public InfraREDOracleDriver()
Method Detail

connect

public Connection connect(String url,
                          Properties properties)
                   throws SQLException
Specified by:
connect in interface Driver
Throws:
SQLException

acceptsURL

public boolean acceptsURL(String url)
                   throws SQLException
Specified by:
acceptsURL in interface Driver
Throws:
SQLException

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)
                                     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