public class HikariDataSourceFactory extends java.lang.Object implements DataSourceFactory
Constructor and Description |
---|
HikariDataSourceFactory() |
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() throws java.sql.SQLException
getStatus
in interface DataSourceFactory
java.sql.SQLException
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