Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.transaction.xa.Xid

Packages that use Xid
Package Description
javax.transaction.xa Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. 
 

Uses of Xid in javax.transaction.xa
 

Methods in javax.transaction.xa that return Xid
Modifier and Type Method and Description
 Xid[] XAResource.recover(int flag)
          Obtains a list of prepared transaction branches from a resource manager.
 

Methods in javax.transaction.xa with parameters of type Xid
Modifier and Type Method and Description
 void XAResource.commit(Xid xid, boolean onePhase)
          Commits the global transaction specified by xid.
 void XAResource.end(Xid xid, int flags)
          Ends the work performed on behalf of a transaction branch.
 void XAResource.forget(Xid xid)
          Tells the resource manager to forget about a heuristically completed transaction branch.
 int XAResource.prepare(Xid xid)
          Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.
 void XAResource.rollback(Xid xid)
          Informs the resource manager to roll back work done on behalf of a transaction branch.
 void XAResource.start(Xid xid, int flags)
          Starts work on behalf of a transaction branch specified in xid.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.