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