public interface DataSourceFactory
DataSourceFactory encapsulates the creation of a particular
DataSource implementation such as a
SimpleDriverDataSource or a connection pool such as Apache DBCP or C3P0.
Call getConnectionProperties() to configure normalized
DataSource properties before calling getDataSource() to
actually get the configured DataSource instance.
| Modifier and Type | Method and Description |
|---|---|
ConnectionProperties |
getConnectionProperties()
Get the connection properties of the
DataSource to be configured. |
DataSource |
getDataSource()
Get the
DataSource with the connection properties applied. |
ConnectionProperties getConnectionProperties()
DataSource to be configured.DataSource getDataSource()
DataSource with the connection properties applied.