ml?is-external=true" title="class or interface in java.lang">Object</a>&gt;&gt;&nbsp;callback)</pre>
<div class="block">Set a callback to destroy a bean instance.
 <p>
 If no dispose callback is specified, a NOOP callback is automatically set.
 <p>
 The <a href="../../../../../jakarta/enterprise/inject/Instance.html" title="interface in jakarta.enterprise.inject"><code>Instance</code></a> argument might be used to simulate disposer method parameter injection. All dependent scoped bean
 instances obtained fr