</span>(<a href="../../../../jakarta/enterprise/inject/spi/Producer.html" title="interface in jakarta.enterprise.inject.spi">Producer</a>&lt;<a href="../../../../jakarta/enterprise/inject/spi/ProcessProducer.html" title="type parameter in ProcessProducer">X</a>&gt;&nbsp;producer)</code>
<div class="block">Replaces the <a href="../../../../jakarta/enterprise/inject/spi/Producer.html" title="interface in jakarta.enterprise.inject.spi"><code>Producer</code></a> object that will be used by the container to call