org.velocityweb.scheduletask.impl
Class SimpleScheduleTask

java.lang.Object
  extended byorg.velocityweb.scheduletask.impl.SimpleScheduleTask
All Implemented Interfaces:
ScheduleTask
Direct Known Subclasses:
EaiScheduleTask

public class SimpleScheduleTask
extends java.lang.Object
implements ScheduleTask


Constructor Summary
SimpleScheduleTask()
           
 
Method Summary
protected  void close()
           
 java.lang.String getName()
           
 void handleException(java.lang.Throwable t)
           
 boolean isRunning()
           
 void processRunUnit()
          this function is for overwrite for subclass
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScheduleTask

public SimpleScheduleTask()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface ScheduleTask

isRunning

public boolean isRunning()
Specified by:
isRunning in interface ScheduleTask

run

public final void run()
Specified by:
run in interface ScheduleTask

processRunUnit

public void processRunUnit()
                    throws java.lang.Exception
this function is for overwrite for subclass

Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface ScheduleTask

close

protected void close()

handleException

public void handleException(java.lang.Throwable t)