Package org.synchronoss.cpo.core.jta


package org.synchronoss.cpo.core.jta
  • Class
    Description
    Base CpoXaResource implementation that tracks per-Xid state for a family of XA resources and drives the JTA two-phase-commit protocol against a subclass-supplied local resource of type T (e.g. a JDBC Connection).
    The XA error codes used by Cpo, mirroring the int constants declared on XAException so error codes can be passed around as a type-safe enum instead of a bare int.
    A JTA XAResource that additionally allows the resource for a specific transaction branch to be closed directly, without waiting for commit/rollback/forget.
    Mutable state tracked for a single XA transaction branch (Xid): its association state with a resource manager, its underlying resource, and its success/prepared flags.
    Simple holder for a Xid-to-CpoXaState map, one per family of XA resources.