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)

Parameters

xid

An Xid object.

Return Value

An integer value.

Exceptions

javax.transaction.xa.XAException

Remarks

This prepare method is specified by the prepare method in the javax.transaction.xa.XAResource interface.

See Also