public abstract class Admin4jJdbcDriverJdk5Base
extends java.lang.Object
implements java.sql.Driver
The connection URL for this driver is in the following format:
jdbcx:admin4j:[admin4J properties]::[underlying driver URL]
For example:
jdbcx:admin4j:driver=org.hsqldb.jdbcDriver,poolName=mainPoolDB::jdbc:hsqldb:mem:Admin4JTestDb
Supported Admin4J driver properties are the following:
Top resource intensive SQL statements can be browsed via the SqlDisplayServlet. By default, the top 50 statements are shown. This is configurable (see PropertyConfigurator)
Connection activity is also viewable via JMX or via the JmxServlet.
This driver honors the following configuration settings (see PropertyConfigurator):
SqlDisplayServlet,
JmxServlet,
net.admin4j.ui.config.PropertyConfigurator| Constructor and Description |
|---|
Admin4jJdbcDriverJdk5Base() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(java.lang.String url) |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info) |
static boolean |
isInUse() |
boolean |
jdbcCompliant() |
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 info)
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 info)
throws java.sql.SQLException
getPropertyInfo in interface java.sql.Driverjava.sql.SQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface java.sql.Driverpublic static boolean isInUse()
Copyright © 2015 The Admin4J Project. All Rights Reserved.