User: schaefera
  Date: 01/07/09 23:42:28

  Modified:    src/docs howtotimer.xml
  Log:
  Fixed some spelling errors and code problems thanx to the feedback
  of [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.7       +7 -7      manual/src/docs/howtotimer.xml
  
  Index: howtotimer.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/src/docs/howtotimer.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- howtotimer.xml    2001/06/18 21:07:42     1.6
  +++ howtotimer.xml    2001/07/10 06:42:28     1.7
  @@ -12,7 +12,7 @@
         <title>Introduction</title>      
            <para>
               As part of the JMX specification each JMX compliant server must provide 
a timer service to let
  -            the users beeing notified at a certain time, in a certain interval 
and/or number of occurrences.
  +            the users being notified at a certain time, in a certain interval 
and/or number of occurrences.
               Therefore you can check for mails, check if some change on target (auto 
deployer) or notify the
               client for a date.
            </para> 
  @@ -168,7 +168,7 @@
            "".getClass().getName(),
            "".getClass().getName(),
            "java.lang.Object",
  -         lNext.getClass().getName()
  +         Date.class.getName()
         }
      );
               </programlisting>       
  @@ -189,14 +189,14 @@
            null,
            // In one minute from now
            lNext,
  -         Timer.ONE_MINUTE,
  -         10
  +         new Long( Timer.ONE_MINUTE ),
  +         new Long( 10 )
         },
         new String[] {
            "".getClass().getName(),
            "".getClass().getName(),
            "java.lang.Object",
  -         lNext.getClass().getName(),
  +         Date.class.getName(),
            Long.TYPE.getName(),
            Long.TYPE.getName()
         } 
  @@ -204,7 +204,7 @@
               </programlisting>       
            </listitem>      
            <listitem>   
  -            <para>If you want to get ride of the second timer then do:</para> 
  +            <para>If you want to get rid of the second timer then do:</para> 
               <programlisting> 
      lServer.invoke(
         lTimer.getObjectName(), 
  @@ -222,7 +222,7 @@
            </listitem>     
         </itemizedlist> 
         <para>  
  -         Now the rest is quite simple. Have a look at the javax.management.Timer 
class description and
  +         Now the rest is quite simple. Have a look at the 
javax.management.timer.Timer class description and
            use the MBeanServer.invoke() method style.
         </para> 
         <para>
  
  
  

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

Reply via email to