Package org.synchronoss.cpo.core.jta
package org.synchronoss.cpo.core.jta
-
ClassDescriptionBase
CpoXaResourceimplementation that tracks per-Xidstate for a family of XA resources and drives the JTA two-phase-commit protocol against a subclass-supplied local resource of typeT(e.g. a JDBCConnection).The XA error codes used by Cpo, mirroring theintconstants declared onXAExceptionso error codes can be passed around as a type-safe enum instead of a bareint.A JTAXAResourcethat additionally allows the resource for a specific transaction branch to be closed directly, without waiting forcommit/rollback/forget.CpoXaState<T>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 aXid-to-CpoXaStatemap, one per family of XA resources.