Package org.mariadb.jdbc.internal.osgi
Class MariaDbDataSourceFactory
java.lang.Object
org.mariadb.jdbc.internal.osgi.MariaDbDataSourceFactory
- All Implemented Interfaces:
org.osgi.service.jdbc.DataSourceFactory
public class MariaDbDataSourceFactory
extends Object
implements org.osgi.service.jdbc.DataSourceFactory
-
Field Summary
Fields inherited from interface org.osgi.service.jdbc.DataSourceFactory
JDBC_DATABASE_NAME, JDBC_DATASOURCE_NAME, JDBC_DESCRIPTION, JDBC_INITIAL_POOL_SIZE, JDBC_MAX_IDLE_TIME, JDBC_MAX_POOL_SIZE, JDBC_MAX_STATEMENTS, JDBC_MIN_POOL_SIZE, JDBC_NETWORK_PROTOCOL, JDBC_PASSWORD, JDBC_PORT_NUMBER, JDBC_PROPERTY_CYCLE, JDBC_ROLE_NAME, JDBC_SERVER_NAME, JDBC_URL, JDBC_USER, OSGI_JDBC_DRIVER_CLASS, OSGI_JDBC_DRIVER_NAME, OSGI_JDBC_DRIVER_VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate MariaDbDataSource
createBasicDataSource
(Properties props) createDataSource
(Properties props) createDriver
(Properties props) private MariaDbPoolDataSource
createPoolDataSource
(Properties props) createXADataSource
(Properties props)
-
Constructor Details
-
MariaDbDataSourceFactory
public MariaDbDataSourceFactory()
-
-
Method Details
-
createDataSource
- Specified by:
createDataSource
in interfaceorg.osgi.service.jdbc.DataSourceFactory
- Throws:
SQLException
-
createConnectionPoolDataSource
public ConnectionPoolDataSource createConnectionPoolDataSource(Properties props) throws SQLException - Specified by:
createConnectionPoolDataSource
in interfaceorg.osgi.service.jdbc.DataSourceFactory
- Throws:
SQLException
-
createXADataSource
- Specified by:
createXADataSource
in interfaceorg.osgi.service.jdbc.DataSourceFactory
- Throws:
SQLException
-
createDriver
- Specified by:
createDriver
in interfaceorg.osgi.service.jdbc.DataSourceFactory
- Throws:
SQLException
-
createBasicDataSource
- Throws:
SQLException
-
createPoolDataSource
- Throws:
SQLException
-