D - javax.sql data source interfacepublic abstract class CommonDataSourceDatabase<D> extends AbstractDatabase<D> implements InactiveDataSourceDatabaseMBean
| Modifier | Constructor and Description |
|---|---|
protected |
CommonDataSourceDatabase(java.lang.Class<D> targetClass) |
| Modifier and Type | Method and Description |
|---|---|
D |
createConnectionFactory()
Factory method for creating a connection factory object for this database.
|
javax.management.DynamicMBean |
getActiveMBean() |
javax.management.DynamicMBean |
getInactiveMBean() |
java.lang.String |
getName()
Return the JNDI name of this DataSource
|
void |
setName(java.lang.String name) |
checkDirty, clean, compareTo, equals, getId, getPassword, getProperties, getUser, getWeight, hashCode, isDirty, isLocal, removeProperty, setId, setLocal, setPassword, setProperties, setProperty, setUser, setWeight, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveProperty, setLocal, setPassword, setProperty, setUser, setWeightgetId, getPassword, getProperties, getUser, getWeight, isLocalprotected CommonDataSourceDatabase(java.lang.Class<D> targetClass)
public java.lang.String getName()
ActiveDataSourceDatabaseMBeangetName in interface ActiveDataSourceDatabaseMBeanActiveDataSourceDatabaseMBean.getName()public void setName(java.lang.String name)
setName in interface InactiveDataSourceDatabaseMBeanInactiveDataSourceDatabaseMBean.setName(java.lang.String)public D createConnectionFactory()
DatabasecreateConnectionFactory in interface Database<D>Database.createConnectionFactory()public javax.management.DynamicMBean getActiveMBean()
getActiveMBean in interface Database<D>Database.getActiveMBean()public javax.management.DynamicMBean getInactiveMBean()
getInactiveMBean in interface Database<D>Database.getInactiveMBean()