| com.sun.xml.ws.api.tx.ATTransaction
All known Subclasses: com.sun.xml.ws.tx.common.ATTransactionImpl,
ATTransaction | public interface ATTransaction extends javax.transaction.Transaction(Code) | | WS-AT Transaction abstraction to enable the enlistment of volatile and durable Partipants.
How to get an ATTransaction.
@Resource(name="java:/comp/wsatTxnMgr", type=javax.transaction.TransactionManager.class )
javax.transaction.TransactionManager wsatTxnMgr;
//In the scope of a wsat transaction, perform the following:
ATTransaction atTxn = (ATTransaction)wsatTxnMgr.getTransaction();
See Also: Participant |
enlistParticipant | public boolean enlistParticipant(Participant participant)(Code) | | Enlist a participant with current WS-AT transaction context.
true if the participant was enlisted successfully; otherwise false. |
|
|