|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterposedTransactionManager
InterposedTransactionManager is used by a bi-directional gateway for importing foreign transactions into WLS. Gateway implementors obtain a XAResource
interface from the WLS Transaction Manager to import foreign transactions into WLS, and to coordinate the foreign transactions.
InterposedTransactionManager is available via JNDI lookup under the path of "weblogic.transaction.coordinators.<serverName>" and from weblogic.transaction.TxHelper
.
Note that we do not yet support importing the same foreign transaction into different WLS domains via our Client InterposedTransactionManager
.
Method Summary | |
---|---|
abstract Transaction |
getTransaction() Gets the transaction object that is associated with the current thread |
abstract Transaction |
getTransaction(Xid xid) Given an Xid returns the corresponding transaction object, if any |
abstract XAResource |
getXAResource() Obtains the XAResource object associated with this Transaction Manager instance |
abstract void |
setClusterwideRecoveryEnabled(boolean isClusterwideRecoveryEnabled) Specifies whether recovery operations for a distributed transaction are applied to all the servers of the cluster hosting InterposedTransactionManager rather than just the server hosting the InterposedTransactionManager. |
Method Detail |
---|
XAResource getXAResource()
XAResource
object associated with this Transaction Manager instanceXAResource
interface implemented by the WLS Transaction Manager. It is used by the gateway for subsequent import and coordination of the foreign transactions.Transaction getTransaction()
return The transaction object that is associated with the current thread
Transaction getTransaction(Xid xid)
xid
- Specifies the Xid, whether it is a foreign Xid or a WLS Xidvoid setClusterwideRecoveryEnabled(boolean isClusterwideRecoveryEnabled)
ClusterwideRecoveryEnabled
attributed set on the server.isClusterwideRecoveryEnabled
- If true
, recovery operations are applied to all servers in the cluster hosting the InterposedTransactionManager
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |