org.sape.carbon.services.scheduler
Class AbstractTask.InternalTask

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--org.sape.carbon.services.scheduler.AbstractTask.InternalTask
All Implemented Interfaces:
Runnable
Enclosing class:
AbstractTask

private static class AbstractTask.InternalTask
extends TimerTask

Class that extends java.util.TimerTask. This task class is the one that is scheduled on the timer and calls the schedulableComponent.


Field Summary
private  BaseTaskConfiguration taskConfiguration
           
 
Fields inherited from class java.util.TimerTask
 
Constructor Summary
AbstractTask.InternalTask(BaseTaskConfiguration taskConfiguration)
          Constructs a task for a schedulable component.
 
Method Summary
 void run()
          Calls runScheduledTask on the scheduled component
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskConfiguration

private BaseTaskConfiguration taskConfiguration
Constructor Detail

AbstractTask.InternalTask

public AbstractTask.InternalTask(BaseTaskConfiguration taskConfiguration)
Constructs a task for a schedulable component.

Parameters:
taskConfiguration - configuration for this task
Method Detail

run

public void run()
Calls runScheduledTask on the scheduled component

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.