public interface TimerListener
TimerManager#schedulemethods can receieve timer notifications. When the timer expires, the
timerExpired(commonj.timers.Timer)method is called and the Timer object that has expired is provided.
When the timer expires, the
timerExpired(commonj.timers.Timer) method is invoked.
The Timer object passed in is the Timer that was returned when the TimerListener
was originally scheduled. If the TimerListener was scheduled with a period,
then the same Timer object is passed to the TimerListener on each invocation.
The Java EE context active on the thread during TimerListener scheduling
will be applied to the timerExpired method. See
TimerManager for details.
void timerExpired(Timer timer)
timer- the Timer object that expired.