接口 XADataSourceWrapper
public interface XADataSourceWrapper
Strategy interface used to wrap a JMSXADataSource
enrolling it with a JTATransactionManager
.- 从以下版本开始:
- 1.2.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DataSource
wrapDataSource(XADataSource dataSource)
Wrap the specificXADataSource
and enroll it with a JTATransactionManager
.
方法详细资料
wrapDataSource
DataSource wrapDataSource(XADataSource dataSource) throws Exception
Wrap the specificXADataSource
and enroll it with a JTATransactionManager
.- 参数:
dataSource
- the data source to wrap- 返回:
- the wrapped data source
- 抛出:
Exception
- if the data source cannot be wrapped