public class NarayanaXADataSourceWrapper extends Object implements XADataSourceWrapper
| Constructor and Description |
|---|
NarayanaXADataSourceWrapper(NarayanaRecoveryManagerBean recoveryManager,
NarayanaProperties properties)
Create a new
NarayanaXADataSourceWrapper instance. |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
wrapDataSource(XADataSource dataSource)
Wrap the specific
XADataSource and enroll it with a JTA
TransactionManager. |
public NarayanaXADataSourceWrapper(NarayanaRecoveryManagerBean recoveryManager, NarayanaProperties properties)
NarayanaXADataSourceWrapper instance.recoveryManager - the underlying recovery managerproperties - the Narayana propertiespublic DataSource wrapDataSource(XADataSource dataSource)
XADataSourceWrapperXADataSource and enroll it with a JTA
TransactionManager.wrapDataSource in interface XADataSourceWrapperdataSource - the data source to wrapCopyright © 2018 Pivotal Software, Inc.. All rights reserved.