|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
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 Java EE 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 Java EE context of the scheduler. |
Method Detail |
---|
void timerExpired(Timer timer)
timer
- the Timer object that expired.
|
Copyright 1996, 2014, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |