|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.bull.javamelody.JdbcDriver
public class JdbcDriver
Driver jdbc "proxy" pour le monitoring. C'est la classe de ce driver qui doit être déclarée si un driver jdbc et non une dataSource est utilisé. Dans la déclaration une propriété jdbc 'driver' doit contenir le nom de la classe du vrai driver. D'autres propriétés jdbc comme url, username ou password peuvent être déclarées.
| Constructor Summary | |
|---|---|
JdbcDriver()
|
|
| Method Summary | |
|---|---|
boolean |
acceptsURL(String url)
|
Connection |
connect(String url,
Properties info)
|
int |
getMajorVersion()
|
int |
getMinorVersion()
|
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info)
|
boolean |
jdbcCompliant()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcDriver()
| Method Detail |
|---|
public Connection connect(String url,
Properties info)
throws SQLException
connect in interface DriverSQLException
public boolean acceptsURL(String url)
throws SQLException
acceptsURL in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driver
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||