public class C3P0DataSourceFactory extends java.lang.Object implements DataSourceFactory
Constructor and Description |
---|
C3P0DataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
createDataSource(Configuration dbConfig) |
java.lang.String |
getDriverClass(javax.sql.DataSource ds) |
java.lang.String |
getJdbcUrl(javax.sql.DataSource ds) |
java.lang.String |
getStatus() |
java.lang.String |
getUser(javax.sql.DataSource ds) |
public javax.sql.DataSource createDataSource(Configuration dbConfig) throws java.beans.PropertyVetoException, java.sql.SQLException
createDataSource
in interface DataSourceFactory
java.beans.PropertyVetoException
java.sql.SQLException
public java.lang.String getStatus()
getStatus
in interface DataSourceFactory
public java.lang.String getDriverClass(javax.sql.DataSource ds)
getDriverClass
in interface DataSourceFactory
public java.lang.String getJdbcUrl(javax.sql.DataSource ds)
getJdbcUrl
in interface DataSourceFactory
public java.lang.String getUser(javax.sql.DataSource ds)
getUser
in interface DataSourceFactory
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly