There is either a bad import or a missing class in Scheduler.java:
 
compile:
    [javac] Compiling 1 source file to D:\usr\local\src\cvsroot\jBoss\jboss\build\classes
    [javac] D:\usr\local\src\cvsroot\jBoss\jboss\src\main\org\jboss\util\Scheduler.java:35: Class management.J2EEApplication not found in import.
    [javac] import management.J2EEApplication;
    [javac]        ^
 
This class is not used anywhere in the Scheduler class that I can see.
----- Original Message -----
Sent: Sunday, June 10, 2001 12:56 AM
Subject: [JBoss-dev] New: Scheduler Service

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

Reply via email to