|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerListener
Objects that implement this interface and are supplied
to one of the TimerManager#schedule
methods can receieve timer
notifications. When the timer expires, the TimerListener.timerExpired(commonj.timers.Timer)
method is called and the
Timer object that has expired is provided.
When the timer expires, the TimerListener.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 J2EE context active on the thread during TimerListener scheduling
will be applied to the timerExpired method. See TimerManager
for details.
Timer
,
TimerManager
Method Summary | |
---|---|
void |
timerExpired(Timer timer)
This method is called when a Timer expires and will run with the J2EE context of the scheduler. |
Method Detail |
---|
void timerExpired(Timer timer)
timer
- the Timer object that expired.
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |