|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.common.DataSourceFactory
public class DataSourceFactory
Produces data sources based on a set of database credentials.
| Constructor Summary | |
|---|---|
DataSourceFactory()
|
|
| Method Summary | |
|---|---|
static org.apache.commons.dbcp.BasicDataSource |
createDataSource(DatabaseLoginCredentials credentials)
Creates a new data source based on the specified credentials. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceFactory()
| Method Detail |
|---|
public static org.apache.commons.dbcp.BasicDataSource createDataSource(DatabaseLoginCredentials credentials)
credentials - The database credentials.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||