public class GenericXADataSourceWrapper extends AbstractXADataSourceWrapper
Constructor and Description |
---|
GenericXADataSourceWrapper(NarayanaProperties properties,
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule xaRecoveryModule)
Create a new
GenericXADataSourceWrapper instance. |
Modifier and Type | Method and Description |
---|---|
protected DataSource |
wrapDataSourceInternal(XADataSource dataSource)
Wrap provided
XADataSource with an instance of NarayanaDataSource . |
wrapDataSource
public GenericXADataSourceWrapper(NarayanaProperties properties, com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule xaRecoveryModule)
GenericXADataSourceWrapper
instance.properties
- Narayana properties.xaRecoveryModule
- recovery module to register data source with.protected DataSource wrapDataSourceInternal(XADataSource dataSource)
XADataSource
with an instance of NarayanaDataSource
.wrapDataSourceInternal
in class AbstractXADataSourceWrapper
dataSource
- data source that needs to be wrapped.Copyright © 2019. All rights reserved.