org.apache.axis2.deployment.scheduler
Class Scheduler

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

public class Scheduler
extends java.lang.Object


Nested Class Summary
 class Scheduler.SchedulerTimerTask
           
 
Constructor Summary
Scheduler()
           
 
Method Summary
 void cleanup()
           
 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:
java.lang.IllegalStateException - if task was already scheduled or cancelled, scheduler was cancelled, or scheduler thread terminated.

cleanup

public void cleanup()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.