Hi Geeks

For the current CVS head (JBoss 3.0) I made some
changes to the Scheduler:

1) When you set an "Initial Start Date" in the past the
    Scheduler will check if now can be reached by 
    the period and repetition. If it can then the Scheduler
    will start there and reduce the repetition appropriate.
    If not then it will not start. If it is an endless loop then
    the Scheduler will always be restarted.
2) The initial start date can now be set either
    - milliseconds since 1/1/1970
    - NOW meaning now
    - Date string which can be parsed by SimpleDateFormat
      which depends on your environment
3) Adjusted the "jboss.jcml" to set the values of the Scheduler
     by attributes and not by constructor arguments.
4) The remaning repetitions in the Schedulable.perform() was
    one call to high. Now it is the correct remaining repetitions.

Have fun

xxxxxxxxxxxxxxxxx
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
xxxxxxxxxxxxxxxxx



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to