Uses of Class
javax.transaction.xa.XAException
Package
Description
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 XAException in javax.transaction.xa
Modifier and TypeMethodDescriptionvoid
Commits the global transaction specified by xid.void
Ends the work performed on behalf of a transaction branch.void
Tells the resource manager to forget about a heuristically completed transaction branch.int
XAResource.getTransactionTimeout()
Obtains the current transaction timeout value set for this XAResource instance.boolean
XAResource.isSameRM
(XAResource xares) This method is called to determine if the resource manager instance represented by the target object is the same as the resource manager instance represented by the parameter xares.int
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.Xid[]
XAResource.recover
(int flag) Obtains a list of prepared transaction branches from a resource manager.void
Informs the resource manager to roll back work done on behalf of a transaction branch.boolean
XAResource.setTransactionTimeout
(int seconds) Sets the current transaction timeout value for thisXAResource
instance.void
Starts work on behalf of a transaction branch specified inxid
.