public class DbcpPooledDataSourceFactory extends Object implements org.ops4j.pax.jdbc.pool.common.PooledDataSourceFactory
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FACTORY_PREFIX |
protected static String |
POOL_PREFIX |
| Constructor and Description |
|---|
DbcpPooledDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
create(org.osgi.service.jdbc.DataSourceFactory dsf,
Properties props) |
protected ObjectName |
getJmxName(String dsName) |
protected Properties |
getNonPoolProps(Properties props) |
protected Map<String,String> |
getPoolProps(Properties props) |
protected Map<String,String> |
getPrefixed(Properties props,
String prefix) |
protected static final String POOL_PREFIX
protected static final String FACTORY_PREFIX
protected Map<String,String> getPoolProps(Properties props)
protected Properties getNonPoolProps(Properties props)
protected Map<String,String> getPrefixed(Properties props, String prefix)
protected ObjectName getJmxName(String dsName)
public DataSource create(org.osgi.service.jdbc.DataSourceFactory dsf, Properties props) throws SQLException
create in interface org.ops4j.pax.jdbc.pool.common.PooledDataSourceFactorySQLExceptionCopyright © 2012–2019 OPS4J - Open Participation Software for Java. All rights reserved.