Requests that the resource manager prepare for a transaction commit of the transaction specified by the given Xid object.
public int prepare(javax.transaction.xa.Xid xid)
參數
xid
An Xid object.
傳回值
An int value.
例外狀況
javax.transaction.xa.XAException
備註
This prepare method is specified by the prepare method in the javax.transaction.xa.XAResource interface.