|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceFactory
Encapsulates the creation of a particular DataSource implementation, such as a
SimpleDriverDataSource
or 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.
Method Summary | |
---|---|
ConnectionProperties |
getConnectionProperties()
Allows properties of the DataSource to be configured. |
DataSource |
getDataSource()
Returns the DataSource with the connection properties applied. |
Method Detail |
---|
ConnectionProperties getConnectionProperties()
DataSource getDataSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |