org.apache.derby.jdbc
Class JDBC

java.lang.Object
  extended by org.apache.derby.jdbc.JDBC
All Implemented Interfaces:
JDBCMBean

final class JDBC
extends java.lang.Object
implements JDBCMBean

Simple JBDC mbean that pulls information about the JDBC driver.


Field Summary
private  InternalDriver driver
           
 
Constructor Summary
JDBC(InternalDriver driver)
           
 
Method Summary
 boolean acceptsURL(java.lang.String url)
          Does the driver accept the passed in JDBC URL
 java.lang.String getDriverLevel()
          Get the JDBC driver's implementation level
 int getMajorVersion()
          Return the JDBC driver's major version.
 int getMinorVersion()
          Return the JDBC driver's minor version.
 boolean isCompliantDriver()
          Is the JDBC driver compliant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

private final InternalDriver driver
Constructor Detail

JDBC

JDBC(InternalDriver driver)
Method Detail

getDriverLevel

public java.lang.String getDriverLevel()
Description copied from interface: JDBCMBean
Get the JDBC driver's implementation level

Specified by:
getDriverLevel in interface JDBCMBean

getMajorVersion

public int getMajorVersion()
Description copied from interface: JDBCMBean
Return the JDBC driver's major version.

Specified by:
getMajorVersion in interface JDBCMBean
Returns:
major version
See Also:
Driver.getMajorVersion()

getMinorVersion

public int getMinorVersion()
Description copied from interface: JDBCMBean
Return the JDBC driver's minor version.

Specified by:
getMinorVersion in interface JDBCMBean
Returns:
minor version
See Also:
Driver.getMinorVersion()

isCompliantDriver

public boolean isCompliantDriver()
Description copied from interface: JDBCMBean
Is the JDBC driver compliant.

Specified by:
isCompliantDriver in interface JDBCMBean
Returns:
compliance state
See Also:
Driver.jdbcCompliant()

acceptsURL

public boolean acceptsURL(java.lang.String url)
Description copied from interface: JDBCMBean
Does the driver accept the passed in JDBC URL

Specified by:
acceptsURL in interface JDBCMBean
Parameters:
url - JDBC URL to check.
Returns:
True if it supports it, false otherwise.
See Also:
Driver.acceptsURL(String)

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.