D - public abstract class CommonDataSourceDatabaseCluster<D> extends AbstractDatabaseCluster<D> implements CommonDataSourceDatabaseClusterMBean<D>
| Constructor and Description |
|---|
CommonDataSourceDatabaseCluster(java.lang.String id,
java.net.URL url)
Constructs a new DataSourceDatabaseCluster
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String databaseId,
java.lang.String name)
Adds a new DataSource to this cluster using the specified identifier and JNDI name.
|
protected abstract CommonDataSourceDatabase<D> |
createDatabase() |
activate, activate, activate, add, addActivationListener, addDeactivationListener, addSynchronizationListener, addSynchronizationStrategyBuilder, deactivate, deactivate, equals, flushMetaDataCache, getActiveDatabases, getAliveMap, getBalancer, getDatabase, getDatabaseMetaDataCache, getDatabases, getDecorator, getDefaultSynchronizationStrategy, getDialect, getId, getInactiveDatabases, getLockManager, getNonTransactionalExecutor, getStateManager, getSynchronizationStrategies, getSynchronizationStrategyBuilders, getTransactionalExecutor, getUrl, getVersion, hashCode, isActive, isAlive, isCurrentDateEvaluationEnabled, isCurrentTimeEvaluationEnabled, isCurrentTimestampEvaluationEnabled, isIdentityColumnDetectionEnabled, isRandEvaluationEnabled, isSequenceDetectionEnabled, postDeregister, postRegister, preDeregister, preRegister, register, remove, removeActivationListener, removeDeactivationListener, removeSynchronizationListener, setDecorator, setLockManager, setStateManager, start, stop, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitactivate, activate, addActivationListener, addDeactivationListener, addSynchronizationListener, deactivate, flushMetaDataCache, getActiveDatabases, getDefaultSynchronizationStrategy, getInactiveDatabases, getSynchronizationStrategies, getUrl, getVersion, isAlive, remove, removeActivationListener, removeDeactivationListener, removeSynchronizationListener, toStringactivate, deactivate, getAliveMap, getBalancer, getDatabase, getDatabaseMetaDataCache, getDialect, getId, getLockManager, getNonTransactionalExecutor, getStateManager, getTransactionalExecutor, isActive, isCurrentDateEvaluationEnabled, isCurrentTimeEvaluationEnabled, isCurrentTimestampEvaluationEnabled, isIdentityColumnDetectionEnabled, isRandEvaluationEnabled, isSequenceDetectionEnabled, setLockManager, setStateManagerpublic CommonDataSourceDatabaseCluster(java.lang.String id, java.net.URL url)
id - url - public void add(java.lang.String databaseId, java.lang.String name)
CommonDataSourceDatabaseClusterMBeanadd in interface CommonDataSourceDatabaseClusterMBean<D>databaseId - a database identifiername - the JNDI name use to lookup the DataSourceDataSourceDatabaseClusterMBean.add(java.lang.String, java.lang.String)protected abstract CommonDataSourceDatabase<D> createDatabase()