|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Timer
.
Interface for user-written triggers. A trigger method is invoked when the time arrives, as determined by a scheduler. A trigger and a scheduler are paired up via a call to TimeServicesDef.getScheduledTrigger(). The trigger is called repeatedly at times specified by the scheduler until the scheduler returns a time value of zero (0), or until the ScheduledTrigger (returned by the T3ServicesDef.getScheduledTrigger() method) is explicitly cancelled, by calling its cancel() method.
If a trigger throws an exception, it is not automatically rescheduled. You must catch exceptions and reschedule the trigger if you want that behavior.
ScheduleDef
,
TimeServicesDef
,
ScheduledTriggerDef
Method Summary | |
void |
trigger(Schedulable scheduler)
Deprecated. Deprecated in WebLogic Server 6.1 |
Method Detail |
public void trigger(Schedulable scheduler)
scheduler
- A Schedulable
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |