code: public int prepare(Xid xid) throws XAException
     {
        if (!warned)
        {
           log.prepareCalledOnLocaltx();  
        }
        warned = true;
        
        return XAResource.XA_OK;
     }
docs: {@inheritDoc}