resource 
              (connection).</dd>
<dd><code>flag</code> - One of the values of TMSUCCESS, TMSUSPEND, or TMFAIL.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><i>true</i> if the resource was delisted successfully; otherwise
          <i>false</i>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code