Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.time.common
Interface Triggerable

Deprecated. As of WebLogic Server 7.0, replaced by `Timer`.

    public interface Triggerable

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.

See Also:
  `ScheduleDef`, `TimeServicesDef`, `ScheduledTriggerDef`

Method Summary
`void` | `trigger(Schedulable scheduler)` Deprecated. Deprecated in WebLogic Server 6.1

Method Detail

### trigger

    void trigger(Schedulable scheduler)

  Deprecated. Deprecated in WebLogic Server 6.1

  Implement this method to do the work you want to schedule. Then pair the Triggerable object with a Schedulable object in a call to the factory method `TimeServicesDef.getScheduledTrigger()`, which returns a ScheduledTrigger object, upon which you operate by calling its `schedule()` and `cancel()` methods.

  Parameters:
    `scheduler` - A Schedulable

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD