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

## org.apache.axis2.deployment.scheduler
Class Scheduler

    java.lang.Object
      org.apache.axis2.deployment.scheduler.Scheduler

    public class Scheduler

extends Object

Nested Class Summary
`class` | `Scheduler.SchedulerTimerTask`

Constructor Summary
`Scheduler()`

Method Summary
`void` | `cleanup(SchedulerTask schedulerTask)`
`void` | `schedule(SchedulerTask schedulerTask, DeploymentIterator iterator)` Schedules the specified task for execution according to the specified schedule.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Scheduler

    public Scheduler()

Method Detail

### schedule

    public void schedule(SchedulerTask schedulerTask,
                         DeploymentIterator iterator)

  Schedules the specified task for execution according to the specified schedule. If times specified by the `ScheduleIterator` are in the past they are scheduled for immediate execution.

  Parameters:
    `schedulerTask` - task to be scheduled
    `iterator` - iterator that describes the schedule
  Throws:
    `IllegalStateException` - if task was already scheduled or cancelled, scheduler was cancelled, or scheduler thread terminated.

### cleanup

    public void cleanup(SchedulerTask schedulerTask)

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

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.