Package org.apache.derby.mbeans
Interface JDBCMBean
-
- All Known Implementing Classes:
JDBC
public interface JDBCMBeanManagement and information for the embedded JDBC driver.Key properties for registered MBean:
-
type=JDBC -
system=runtime system identifier (see overview)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanacceptsURL(java.lang.String url)Does the driver accept the passed in JDBC URLjava.lang.StringgetDriverLevel()Get the JDBC driver's implementation levelintgetMajorVersion()Return the JDBC driver's major version.intgetMinorVersion()Return the JDBC driver's minor version.booleanisCompliantDriver()Is the JDBC driver compliant.
-
-
-
Method Detail
-
getDriverLevel
java.lang.String getDriverLevel()
Get the JDBC driver's implementation level
-
getMajorVersion
int getMajorVersion()
Return the JDBC driver's major version.- Returns:
- major version
- See Also:
Driver.getMajorVersion()
-
getMinorVersion
int getMinorVersion()
Return the JDBC driver's minor version.- Returns:
- minor version
- See Also:
Driver.getMinorVersion()
-
isCompliantDriver
boolean isCompliantDriver()
Is the JDBC driver compliant.- Returns:
- compliance state
- See Also:
Driver.jdbcCompliant()
-
acceptsURL
boolean acceptsURL(java.lang.String url) throws java.sql.SQLExceptionDoes the driver accept the passed in JDBC URL- Parameters:
url- JDBC URL to check.- Returns:
- True if it supports it, false otherwise.
- Throws:
java.sql.SQLException- See Also:
Driver.acceptsURL(String)
-
-