@FunctionalInterface public interface XADataSourceWrapper
XADataSource
enrolling it with a JTA
TransactionManager
.Modifier and Type | Method and Description |
---|---|
DataSource |
wrapDataSource(XADataSource dataSource)
Wrap the specific
XADataSource and enroll it with a JTA
TransactionManager . |
DataSource wrapDataSource(XADataSource dataSource) throws Exception
XADataSource
and enroll it with a JTA
TransactionManager
.dataSource
- the data source to wrapException
- if the data source cannot be wrappedCopyright © 2018 Pivotal Software, Inc.. All rights reserved.