|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jfw.scheduler.ScheduleTypes
com.jfw.scheduler.Startup
public final class Startup
Implements the logic for Strartup scheduling.
The scheduled classes of this type will run once at scheduler startup and exit.
| Field Summary |
|---|
| Fields inherited from class com.jfw.scheduler.ScheduleTypes |
|---|
className, EXECUTE_NOW_KEY, frequence, id, NEXT_EXECUTION_DATE_KEY, NEXT_EXECUTION_TIME_KEY, PREVIOUS_EXECUTION_DATE_KEY, PREVIOUS_EXECUTION_TIME_KEY, scheduleBean, scheduleThread, statusProperties |
| Constructor Summary | |
|---|---|
Startup()
|
|
| Method Summary | |
|---|---|
protected java.util.Date |
getNextExecutionDate()
Get the next execution day. |
protected void |
setParams()
Set frequency parameters. |
protected void |
sleep()
Implement the logic of sleep before the schedule bean is execute. |
| Methods inherited from class com.jfw.scheduler.ScheduleTypes |
|---|
addError, commonSleep, existStatusProperties, getFileName, getScheduleObjectsPath, readStatus, saveStatus, updateProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Startup()
| Method Detail |
|---|
protected void setParams()
setParams in class ScheduleTypesprotected void sleep()
sleep in class ScheduleTypes
protected java.util.Date getNextExecutionDate()
throws java.lang.Exception
getNextExecutionDate in class ScheduleTypesjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||