Hi Andreas!
Can we have a ChangeNote on SF for this please ? It would help us not to
forget to write some docu about this at the time this becomes part of
the offical distro.
Thx!

Ciao,
Tobi 

> Andreas Schaefer wrote:
> 
> Hi Geeks
> 
> After some requests for a JMX Timer example and using BEA Weblogic's
> Scheduler (@ work, of course) I came up with the idea of having a
> similar
> Scheduling Service but better because we do it right, right ?
> 
> In jboss.jcml (default) is an example MBean definition. To use it on
> your
> own just do:
> - uncomment the example in jboss.jcml
> - create your own instance of a Schedulable taks by implementing the
>   Schedulable interface
> - Replace the fully qualified class name with the
> Scheduler$SchedulableExample
> - Adjust the constructor values:
>   1) Name of the MBean
>   2) Fully qualified class name of your Schedulable Task class
>   3) Comma separated list of Constructor Values (NOT SUPPORTED yet)
>   4) Comma separated list of Constructor Data Types (NOT SUPPORTED
> yet)
>   5) Date of the initial call in milliseconds (0 = now) (except 0 NOT
> SUPPORTED yet)
>   6) Period between two calls in milliseconds
>   7) Number of repetitions where -1 means forever
> - Make your Schedulable Task class available for the Scheduling MBean
> (classpath
>   extension etc.)
> 
> I think that's it. Have fun and tell me what you think.
> 
> Please note that this is a alpa version and is not finished. Your
> comment will help
> to make it better.
> 
> Mad Andy / Better Pizza

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

Reply via email to