class="blockList">
<h4>ejbRemove</h4>
<pre>void&nbsp;ejbRemove()
        throws <a href="../../jakarta/ejb/EJBException.html" title="class in jakarta.ejb">EJBException</a></pre>
<div class="block">A container invokes this method before it ends the life of the message-driven object. This happens when a container
 decides to terminate the message-driven object.

 <p>
 This method is called with no transaction context.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../jakart