| |
|
| java.lang.Object org.ow2.easybeans.examples.timerservice.TimedObjectBean
TimedObjectBean | public class TimedObjectBean implements TimedObject,TimedLocal(Code) | | Bean that implements the TimedObject interface.
The timeout method will be ejbTimeout().
author: Florent Benoit |
Method Summary | |
public void | ejbTimeout(Timer timer) Invoked by the EJB container upon timer expiration. | public void | setTimerService(TimerService timerService) Use a setter method to inject the timer service. | public void | startTimer() Local method that is used by the other bean in order to start a timer on this bean. |
ejbTimeout | public void ejbTimeout(Timer timer)(Code) | | Invoked by the EJB container upon timer expiration.
Parameters: timer - timer whose expiration caused this notification. |
setTimerService | public void setTimerService(TimerService timerService)(Code) | | Use a setter method to inject the timer service.
Parameters: timerService - the instance of the timer service. |
startTimer | public void startTimer()(Code) | | Local method that is used by the other bean in order to start a timer on this bean.
|
|
|
|