code: public void commit(Xid xid, boolean onePhase) throws XAException
     {
        try
        {
           cl.getManagedConnection().getLocalTransaction().commit();
        }
        catch (ResourceException re)
        {
           connectionManager.returnConnectionListener(cl, true);
           throw new LocalXAException("commit", XAException.XA_RBROLLBACK, re);
        }
     }
docs: {@inheritDoc}