- milestone: 125938 --> v2.4
Creation of a Scheduler Service allowing the client to
specify a schedule with then calls the client's
schedulable Task class.
The scheduler service should work from "jboss.jcml",
any JMX Adaptors or by using the MBeanServer or a
Connector to create the instance.
Attributes and Operations:
- Schedulable: schedulable Task which could be either
created on the fly or refer to another MBean.
- Initial Start Date: when the first scheduled call is
made.
- Schedule Period: the time between to scheduled calls
- Repetitions: number of scheduled calls (also
unlimited)
- startSchedule(): start the schedule if not started
yet.
- stopSchedule(): stops the schedule if started
- restartSchedule(): stop and start the Schedule
- isStart(): true if started
- isUpdatePending(): true if attributes have changed
but schedule is not restarted
Andy