EJB @Timeout

Javadoc

The @Timeout annotation allows you to specify which method should receive EJB timer timeouts. The example below shows you how to do that.

  @Stateless
  public class MyTimedBean {
    @Timeout
    public void timedOut() {
    }
  }