D
- the data source classpublic interface CommonDataSourceFactory<D>
Modifier and Type | Method and Description |
---|---|
D |
createProxy(java.lang.String id,
java.lang.String config)
Creates a data source proxy to the specified cluster, using the configuration file at the specified location.
|
D createProxy(java.lang.String id, java.lang.String config) throws java.sql.SQLException
id
- a database cluster identifierconfig
- the location of the configuration file for this clusterjava.sql.SQLException
- if the data source proxy could not be created