1 22 package org.jboss.ejb3.test.timer; 23 24 import javax.ejb.Remote ; 25 import javax.ejb.Stateless ; 26 import javax.ejb.TimedObject ; 27 import javax.ejb.Timer ; 28 29 import org.jboss.annotation.ejb.RemoteBinding; 30 import org.jboss.logging.Logger; 31 32 38 @Stateless 39 @RemoteBinding(jndiBinding="TimerTesterBean21") 40 @Remote (TimerTester.class) 41 public class TimerTesterBean21 extends BaseTimerTesterBean implements TimerTester, TimedObject 42 { 43 private static final Logger log = Logger.getLogger(TimerTesterBean21.class); 44 45 public void ejbTimeout(Timer timer) 46 { 47 log.info("EJB TIMEOUT!!!!"); 48 timerCalled = true; 49 } 51 } 52 | Popular Tags |