code: void setEnlisted(Xid enlistedXid)
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setEnlisted", enlistedXid);
        if (enlistedXid == null)         state = ResourceState.UNENLISTED;
        else if (joinedResource != null) state = ResourceState.JOINED;
        else                             state = ResourceState.ENLISTED;
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "State is now = " + state);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setEnlisted");
     }
docs: This method is used internally to set whether we are currently enlisted. This is used in the
  case where a transaction is suspended as when this occurs the resource is effectively
  delisted (although this is never passed onto the server).
  
  @see com.ibm.ws.sib.comms.client.BaseSIXAResourceProxy#setEnlisted(javax.transaction.xa.Xid)