public interface

DataSourceFactory

org.springframework.jdbc.datasource.embedded.DataSourceFactory

Class Overview

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.

Summary

Public Methods
abstract ConnectionProperties getConnectionProperties()
Allows properties of the DataSource to be configured.
abstract DataSource getDataSource()
Returns the DataSource with the connection properties applied.

Public Methods

public abstract ConnectionProperties getConnectionProperties ()

Allows properties of the DataSource to be configured.

public abstract DataSource getDataSource ()

Returns the DataSource with the connection properties applied.