接口 XADataSourceWrapper
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Strategy interface used to wrap an
XADataSource
enrolling it with a JTA
TransactionManager
.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明wrapDataSource
(XADataSource dataSource) Wrap the specificXADataSource
and enroll it with a JTATransactionManager
.
-
方法详细资料
-
wrapDataSource
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
-