Hi,
 
I can't find any document on how to create the Schedule Service except from the JBOSS new release log. Can anyone provide me with the code sample or link with more details. Thanks

431864 Scheduler Service

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
Pifen Ellwood

Reply via email to