p;setResourceAdapter(<a href="../../../javax/resource/spi/ResourceAdapter.html" title="interface in javax.resource.spi">ResourceAdapter</a>&nbsp;ra)
                 throws <a href="../../../javax/resource/ResourceException.html" title="class in javax.resource">ResourceException</a></pre>
<div class="block">Associate this object with a <code>ResourceAdapter</code> object. 
 Note, this method must be called exactly once. That is, the 
 association must not change during the lifetime of this object.</div>
<dl