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 ScheduledTriggerDef

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

    public interface ScheduledTriggerDef

ScheduledTriggerDef objects are returned by the factory method `TimeServicesDef.getScheduledTrigger()`, and represent a scheduler-trigger pair. The ScheduledTrigger does not begin execution until the ScheduledTriggerDef.schedule() method is called. At a later point, the ScheduledTrigger can be deactivated by calling its `cancel()` method, or by returning zero (0) from its `schedule()` method. The `schedule()`method returns a unique number that can be used as a key for the scheduled trigger.

See Also:
  `TimeServicesDef`

Method Summary
`boolean` | `cancel()` Deprecated. Deprecated in WebLogic Server 6.1
`boolean` | `isDaemon()` Deprecated. Deprecated in WebLogic Server 6.1
`int` | `schedule()` Deprecated. Deprecated in WebLogic Server 6.1
`void` | `setDaemon(boolean isDaemon)` Deprecated. Deprecated in WebLogic Server 6.1
`void` | `setWorkManager(WorkManager manager)` Deprecated. Deprecated in WebLogic Server 6.1

Method Detail

### schedule

    int schedule()

  Deprecated. Deprecated in WebLogic Server 6.1

  Begins (recurring) execution of the `schedule()`-`trigger()` cycle.

  Returns:
    Unique number that can be used as a key
  Throws:
    `TimeTriggerException` - if the cycle cannot be started

### cancel

    boolean cancel()

  Deprecated. Deprecated in WebLogic Server 6.1

  Ends (recurring) execution of the `schedule()`-`trigger()` cycle.

  Returns:
    true if the cycle is stopped
  Throws:
    `TimeTriggerException` - if the trigger cannot be cancelled

### setDaemon

    void setDaemon(boolean isDaemon)

  Deprecated. Deprecated in WebLogic Server 6.1

  If set to true, the trigger will continue executing after the client has disconnected. This is only valid for server-side triggers.

  Throws:
    `TimeTriggerException` - if the trigger has already been cancelled.

### setWorkManager

    void setWorkManager(WorkManager manager)

  Deprecated. Deprecated in WebLogic Server 6.1

### isDaemon

    boolean isDaemon()

  Deprecated. Deprecated in WebLogic Server 6.1

  Returns true, if the trigger is set to continue executing after the client has disconnected. This is only valid for server-side triggers.

  Throws:
    `TimeTriggerException` - if the trigger has already been cancelled.

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