Z
- javax.sql
data source interfacepublic abstract class CommonDataSourceDatabase<Z extends CommonDataSource> extends AbstractDatabase<Z>
ID_MAX_SIZE
Modifier | Constructor and Description |
---|---|
protected |
CommonDataSourceDatabase(Class<Z> targetClass) |
Modifier and Type | Method and Description |
---|---|
Z |
getConnectionSource()
Returns a connection source for this database.
|
void |
setLocation(String name) |
assertInactive, checkDirty, clean, compareTo, decodePassword, equals, getId, getLocation, getPassword, getProperties, getUser, getWeight, hashCode, isActive, isDirty, isLocal, removeProperty, requiresAuthentication, setActive, setId, setLocal, setPassword, setProperty, setUser, setWeight, toString
protected CommonDataSourceDatabase(Class<Z> targetClass)
@ManagedAttribute @Description(value="The JNDI name to which this DataSource is bound, or the class name of the DataSource implementation") public void setLocation(String name)
setLocation
in class AbstractDatabase<Z extends CommonDataSource>
AbstractDatabase.getLocation()
public Z getConnectionSource()
Database
Database.getConnectionSource()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.