public interface DriverDatabaseClusterMBean extends DatabaseClusterMBean, DatabaseCluster<java.sql.Driver>
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String databaseId,
java.lang.String driver,
java.lang.String url)
Adds a new database to this cluster using the specified identifier, url, and driver.
|
activate, activate, addActivationListener, addDeactivationListener, addSynchronizationListener, deactivate, flushMetaDataCache, getActiveDatabases, getDefaultSynchronizationStrategy, getInactiveDatabases, getSynchronizationStrategies, getUrl, getVersion, isAlive, remove, removeActivationListener, removeDeactivationListener, removeSynchronizationListener, toString
activate, deactivate, getAliveMap, getBalancer, getDatabase, getDatabaseMetaDataCache, getDialect, getId, getLockManager, getNonTransactionalExecutor, getStateManager, getTransactionalExecutor, isActive, isCurrentDateEvaluationEnabled, isCurrentTimeEvaluationEnabled, isCurrentTimestampEvaluationEnabled, isIdentityColumnDetectionEnabled, isRandEvaluationEnabled, isSequenceDetectionEnabled, setLockManager, setStateManager
void add(java.lang.String databaseId, java.lang.String driver, java.lang.String url)
databaseId
- a database identifierurl
- a JDBC urldriver
- a JDBC driver class namejava.lang.IllegalArgumentException
- if this database already exists, if the specified driver is invalid, or if the specified url is invalid.java.lang.IllegalStateException
- if mbean registration fails.