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.
Fields inherited from class java.util.TimerTask |
|
Method Summary |
void |
run()
Calls runScheduledTask on the scheduled component |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskConfiguration
private BaseTaskConfiguration taskConfiguration
AbstractTask.InternalTask
public AbstractTask.InternalTask(BaseTaskConfiguration taskConfiguration)
- Constructs a task for a schedulable component.
- Parameters:
taskConfiguration
- configuration for this task
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.