code: public void createLocalTx(Xid xid, EmbeddedTransaction tx) {
        localTxTable.put(xid, tx);
        if (trace) {
           log.tracef("[%s] New tx=%s", xid, tx);
        }
     }
docs: Adds the {@link EmbeddedTransaction} in the local transaction table.