nject.spi"><code>Producer</code></a> object that will be used by the container to call the producer
 method or read the producer field.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>producer</code> - the new <a href="../../../../jakarta/enterprise/inject/spi/Producer.html" title="interface in jakarta.enterprise.inject.spi"><code>Producer</code></a> object to use</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/jav