EJB @Remove
Javadoc
The @Remove annotation lets you define that after running a particular method the stateful session bean will be taken out of service.
  @Stateful
  public class MySessionBean {
    @Remove
    public void andRemoveMeOnceDone()
    {
    }
  }