com.caucho.management.server
Interface JdbcDriverMXBean

All Superinterfaces:
ManagedObjectMXBean
All Known Implementing Classes:
DriverAdmin

public interface JdbcDriverMXBean
extends ManagedObjectMXBean

MBean API for a JDBC driver.

 resin:type=JdbcDriver,name=jdbc/resin,...
 


Method Summary
 java.lang.String getClassName()
          Returns the driver class
 long getConnectionCountTotal()
          Returns the total number of connections.
 long getConnectionFailCountTotal()
          Returns the total number of failed connections.
 java.util.Date getLastFailTime()
          Returns the last connection fail time.
 java.util.Properties getProperties()
          Returns the drivers configured properties
 java.lang.String getState()
           
 java.lang.String getUrl()
          Returns the URL
 boolean start()
          Enables the driver.
 boolean stop()
          Disables the driver.
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getClassName

java.lang.String getClassName()
Returns the driver class


getUrl

java.lang.String getUrl()
Returns the URL


getProperties

java.util.Properties getProperties()
Returns the drivers configured properties


getState

java.lang.String getState()

getConnectionCountTotal

long getConnectionCountTotal()
Returns the total number of connections.


getConnectionFailCountTotal

long getConnectionFailCountTotal()
Returns the total number of failed connections.


getLastFailTime

java.util.Date getLastFailTime()
Returns the last connection fail time.


start

boolean start()
Enables the driver.


stop

boolean stop()
Disables the driver.