Interface CpoXaResource

All Superinterfaces:
XAResource
All Known Implementing Classes:
CpoBaseXaResource

public interface CpoXaResource extends XAResource
A JTA XAResource that additionally allows the resource for a specific transaction branch to be closed directly, without waiting for commit/rollback/forget.
Author:
dberry
  • Method Details

    • close

      void close(Xid xid) throws XAException
      Closes the resource associated with the given transaction branch.
      Parameters:
      xid - The id of the XAResource to close
      Throws:
      XAException - An exception occurred closing the resource