public class BitronixXADataSourceWrapper extends Object implements XADataSourceWrapper
Constructor and Description |
---|
BitronixXADataSourceWrapper() |
Modifier and Type | Method and Description |
---|---|
PoolingDataSourceBean |
wrapDataSource(XADataSource dataSource)
Wrap the specific
XADataSource and enroll it with a JTA
TransactionManager . |
public PoolingDataSourceBean wrapDataSource(XADataSource dataSource) throws Exception
XADataSourceWrapper
XADataSource
and enroll it with a JTA
TransactionManager
.wrapDataSource
in interface XADataSourceWrapper
dataSource
- the data source to wrapException
- if the data source cannot be wrapped