Home   Up About   Documents   Products  

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() {
    }
  }
                

Copyright © 2003-2009 Manorrock.com. All Rights Reserved.