if (log.isDebugEnabled()) { log.debug("prepare called: " + id); }
log.debug("prepare called: " + id);
    public int prepare(Xid id) throws javax.transaction.xa.XAException {       if (log.isDebugEnabled())        {          log.debug("prepare called: " + id);       } // end of if ()        if (mcf.lookupXid(id) == null) {            throw new XAException("prepare called with unknown transaction");        }        if (mcf.lookupXid(id) == currentTr) {            throw new XAException("prepare called with current xid");        }        mcf.prepare(id);        return XA_OK;    }