Imparting transactional semantics to object-oriented components required an extension of the TPM model, in which transactions are instead defined in terms of invoking methods on transactional objects.
将事务性语义告知面向对象的组件要求对TPM模型进行扩展—在这个模型中事务是按照事务性对象的调用方法定义的。
It can choose to associate the transactional work to be performed directly with its XAResource object.
它可以选择把要执行的事务性工作直接与它的XAResource对象关联起来。
One caveat here is that service object local calls do not go through the transactional proxy, and thus will always occur in the transaction context of the caller.
这里需要注意的一点在于,服务对象本地调用并不经过事务代理,因此将始终在调用者的事务上下文中进行。
应用推荐