public interface JDBCMBean
Management and information for the embedded JDBC driver.
Key properties for registered MBean:
-
type=JDBC
-
system=
runtime system identifier (see overview)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) Does the driver accept the passed in JDBC URLGet the JDBC driver's implementation levelint
Return the JDBC driver's major version.int
Return the JDBC driver's minor version.boolean
Is the JDBC driver compliant.
-
Method Details
-
getDriverLevel
String getDriverLevel()Get the JDBC driver's implementation level- Returns:
- the driver level
-
getMajorVersion
int getMajorVersion()Return the JDBC driver's major version.- Returns:
- major version
- See Also:
-
getMinorVersion
int getMinorVersion()Return the JDBC driver's minor version.- Returns:
- minor version
- See Also:
-
isCompliantDriver
boolean isCompliantDriver()Is the JDBC driver compliant.- Returns:
- compliance state
- See Also:
-
acceptsURL
Does the driver accept the passed in JDBC URL- Parameters:
url
- JDBC URL to check.- Returns:
- True if it supports it, false otherwise.
- Throws:
SQLException
- on error- See Also:
-