| net.sf.hajdbc.sql.DriverDatabaseClusterMBean
All known Subclasses: net.sf.hajdbc.sql.DriverDatabaseCluster,
Method Summary | |
public void | add(String databaseId, String driver, String url) Adds a new database to this cluster using the specified identifier, url, and driver. |
add | public void add(String databaseId, String driver, String url)(Code) | | Adds a new database to this cluster using the specified identifier, url, and driver.
Parameters: databaseId - a database identifier Parameters: url - a JDBC url Parameters: driver - a JDBC driver class name throws: IllegalArgumentException - if this database already exists, if the specified driver is invalid, or if the specified url is invalid. throws: IllegalStateException - if mbean registration fails. |
|
|