User: schaefera
  Date: 02/01/21 01:50:10

  Modified:    src/xdocs/howto howtotimer.2.xml
  Log:
  Added Adam Heath path to the Scheduler Docu.
  
  Revision  Changes    Path
  3.3       +10 -9     manual/src/xdocs/howto/howtotimer.2.xml
  
  Index: howtotimer.2.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/src/xdocs/howto/howtotimer.2.xml,v
  retrieving revision 3.2
  retrieving revision 3.3
  diff -u -r3.2 -r3.3
  --- howtotimer.2.xml  2002/01/20 14:10:42     3.2
  +++ howtotimer.2.xml  2002/01/21 09:50:10     3.3
  @@ -460,11 +460,11 @@
         <orderedlist>
            <listitem>
               <para>
  -               When you want to use a Schedulalbe instance then you have to create 
a class with
  -               implement the Schedulable interface. Then whenever an appropriate 
Time Notification
  -               comes in, its <function>perform</function> method will be called. It 
contains two
  -               parameters. The first is the time when the notification is sent and 
the second is the
  -               number of remaining occurrencies (where -1 means no limit).
  +               One way to use the Scheduler service is to provide a class that 
implements the
  +               Schedulable interface. When the Scheduler receives a Notification 
from the Timer
  +               it will call the Schedulable's <function>perform()</function> 
method. This method
  +               takes 2 paramaters: the first is the time that the notification was 
sent; the second
  +               is the number of the remain occurences(where -1 means no limit).
               </para>
               <para>
                  The example coming with the Scheduler what a Schedulable class 
should look like is
  @@ -512,10 +512,11 @@
            </listitem>
            <listitem>
               <para>
  -               When you want to use another MBean to be called by the Scheduler you 
must make
  -               sure that the MBean is available to the JMX Agent of the JBoss 
server. It must be
  -               loaded when the first call is made from the Scheduler otherwise the 
call wil not
  -               be made but the number of repetitions will be decreased (if not 
endless).
  +               The other way is to tell the Scheduler which method on which MBean 
schould be
  +               called by the Scheduler service when it receives a Notification from 
the Timer.
  +               The MBean must be loaded, created and started when the Scheduler 
calls the
  +               MBean for the first time. If not available the Scheduler will count 
this call
  +               (decrease the remaining repetitions if not endless) but the call is 
not performed.
               </para>
            </listitem>
         </orderedlist>
  
  
  

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

Reply via email to