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)
XADataSourceWrapper
XADataSource
and enroll it with a JTA
TransactionManager
.wrapDataSource
in interface XADataSourceWrapper
dataSource
- the data source to wrapCopyright © 2016 Pivotal Software, Inc.. All rights reserved.