ionalContext</a>&lt;<a href="../../../../../jakarta/enterprise/inject/spi/configurator/BeanConfigurator.html" title="type parameter in BeanConfigurator">T</a>&gt;&gt;&nbsp;callback)</pre>
<div class="block">Set a callback to destroy a bean instance.
 <p>
 If no destroy callback is specified, a NOOP callback is automatically set.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>callback</code> - the callback to destroy the instance</dd>
<dt><span class="returnLabel">Returns:</span></