You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by kn...@apache.org on 2004/11/11 15:25:12 UTC

cvs commit: jakarta-hivemind/examples/src/descriptor/META-INF examples.xml

knut        2004/11/11 06:25:12

  Modified:    examples/src/documentation/content/xdocs/hivemind-examples
                        calc.xml
               examples/src/descriptor/META-INF examples.xml
  Added:       examples/src/java/org/apache/hivemind/examples/impl
                        MultiplierImpl.java
  Removed:     examples/src/java/org/apache/hivemind/examples/impl
                        MultiplerImpl.java
  Log:
  spotted this typo as I wrote the Groovy example :-)
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/calc.xml
  
  Index: calc.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/documentation/content/xdocs/hivemind-examples/calc.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- calc.xml	21 Oct 2004 12:35:56 -0000	1.5
  +++ calc.xml	11 Nov 2004 14:25:12 -0000	1.6
  @@ -110,7 +110,7 @@
       <interceptor service-id="hivemind.LoggingInterceptor"/>
     </service-point>
     <service-point id="Multiplier" interface="org.apache.hivemind.examples.Multiplier">
  -    <create-instance class="org.apache.hivemind.examples.impl.MultiplerImpl"/>
  +    <create-instance class="org.apache.hivemind.examples.impl.MultiplierImpl"/>
       <interceptor service-id="hivemind.LoggingInterceptor"/>
     </service-point>
     <service-point id="Divider" interface="org.apache.hivemind.examples.Divider">
  
  
  
  1.1                  jakarta-hivemind/examples/src/java/org/apache/hivemind/examples/impl/MultiplierImpl.java
  
  Index: MultiplierImpl.java
  ===================================================================
  //  Copyright 2004 The Apache Software Foundation
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //     http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  
  package org.apache.hivemind.examples.impl;
  
  import org.apache.hivemind.examples.Multiplier;
  
  /**
   * Implementation of the {@link org.apache.hivemind.examples.Multiplier} interface.
   *
   * @author Howard Lewis Ship
   */
  public class MultiplierImpl implements Multiplier
  {
  
      public double multiply(double arg0, double arg1)
      {
          return arg0 * arg1;
      }
  
  }
  
  
  
  1.5       +1 -1      jakarta-hivemind/examples/src/descriptor/META-INF/examples.xml
  
  Index: examples.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/descriptor/META-INF/examples.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- examples.xml	16 Aug 2004 14:42:25 -0000	1.4
  +++ examples.xml	11 Nov 2004 14:25:12 -0000	1.5
  @@ -25,7 +25,7 @@
           <interceptor service-id="hivemind.LoggingInterceptor"/>
       </service-point>
       <service-point id="Multiplier" interface="org.apache.hivemind.examples.Multiplier">
  -        <create-instance class="org.apache.hivemind.examples.impl.MultiplerImpl"/>
  +        <create-instance class="org.apache.hivemind.examples.impl.MultiplierImpl"/>
           <interceptor service-id="hivemind.LoggingInterceptor"/>
       </service-point>
       <service-point id="Divider" interface="org.apache.hivemind.examples.Divider">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org