org.springframework.jdbc.datasource.embedded
Class SimpleDriverDataSourceFactory

java.lang.Object
  extended by org.springframework.jdbc.datasource.embedded.SimpleDriverDataSourceFactory
All Implemented Interfaces:
DataSourceFactory

final class SimpleDriverDataSourceFactory
extends java.lang.Object
implements DataSourceFactory

Creates a SimpleDriverDataSource.

Since:
3.0
Author:
Keith Donald, Juergen Hoeller

Field Summary
private  SimpleDriverDataSource dataSource
           
 
Constructor Summary
SimpleDriverDataSourceFactory()
           
 
Method Summary
 ConnectionProperties getConnectionProperties()
          Allows properties of the DataSource to be configured.
 javax.sql.DataSource getDataSource()
          Returns the DataSource with the connection properties applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

private final SimpleDriverDataSource dataSource
Constructor Detail

SimpleDriverDataSourceFactory

SimpleDriverDataSourceFactory()
Method Detail

getConnectionProperties

public ConnectionProperties getConnectionProperties()
Description copied from interface: DataSourceFactory
Allows properties of the DataSource to be configured.

Specified by:
getConnectionProperties in interface DataSourceFactory

getDataSource

public javax.sql.DataSource getDataSource()
Description copied from interface: DataSourceFactory
Returns the DataSource with the connection properties applied.

Specified by:
getDataSource in interface DataSourceFactory