org.apache.axis2.deployment.scheduler
Class SchedulerTask

java.lang.Object
  extended by org.apache.axis2.deployment.scheduler.SchedulerTask
All Implemented Interfaces:
java.lang.Runnable

public class SchedulerTask
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
SchedulerTask(RepositoryListener listener)
          Creates a new scheduler task.
 
Method Summary
 boolean cancel()
          Cancels this scheduler task.
 void run()
          The action to be performed by this scheduler task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerTask

public SchedulerTask(RepositoryListener listener)
Creates a new scheduler task.

Method Detail

cancel

public boolean cancel()
Cancels this scheduler task.

This method may be called repeatedly; the second and subsequent calls have no effect.

Returns:
Returns true if this task was already scheduled to run.

run

public void run()
The action to be performed by this scheduler task.

Specified by:
run in interface java.lang.Runnable


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