public abstract class DatabaseFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_databaseName |
Constructor and Description |
---|
DatabaseFactory() |
Modifier and Type | Method and Description |
---|---|
abstract javax.sql.DataSource |
create() |
static DatabaseFactory |
createBuilder() |
java.lang.String |
getDatabaseName() |
java.lang.Class<?> |
getDriverClass() |
java.lang.String |
getName() |
java.lang.String |
getPassword() |
java.lang.String |
getUrl() |
java.lang.String |
getUser() |
void |
setDatabaseName(java.lang.String databaseName) |
void |
setDriverClass(java.lang.Class<?> driverClass) |
void |
setName(java.lang.String name) |
void |
setPassword(java.lang.String password) |
void |
setUrl(java.lang.String url) |
void |
setUser(java.lang.String user) |
public static DatabaseFactory createBuilder()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setDriverClass(java.lang.Class<?> driverClass)
public java.lang.Class<?> getDriverClass()
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public void setUser(java.lang.String user)
public java.lang.String getUser()
public void setPassword(java.lang.String password)
public java.lang.String getPassword()
public void setDatabaseName(java.lang.String databaseName)
public java.lang.String getDatabaseName()
public abstract javax.sql.DataSource create()