public class DbcpXAPooledDataSourceFactory extends DbcpPooledDataSourceFactory
| Modifier and Type | Field and Description |
|---|---|
protected TransactionManager |
tm |
FACTORY_PREFIX, POOL_PREFIX| Constructor and Description |
|---|
DbcpXAPooledDataSourceFactory(TransactionManager tm)
Initialize XA PoolingDataSourceFactory
|
| Modifier and Type | Method and Description |
|---|---|
DataSource |
create(org.osgi.service.jdbc.DataSourceFactory dsf,
Properties props) |
protected ObjectName |
getJmxName(String dsName) |
getNonPoolProps, getPoolProps, getPrefixedprotected TransactionManager tm
public DbcpXAPooledDataSourceFactory(TransactionManager tm)
tm - transaction manager (Only needed for XA mode)protected ObjectName getJmxName(String dsName)
getJmxName in class DbcpPooledDataSourceFactorypublic DataSource create(org.osgi.service.jdbc.DataSourceFactory dsf, Properties props) throws SQLException
create in interface org.ops4j.pax.jdbc.pool.common.PooledDataSourceFactorycreate in class DbcpPooledDataSourceFactorySQLExceptionCopyright © 2012–2019 OPS4J - Open Participation Software for Java. All rights reserved.