org.apache.servicemix.examples.cxf.soaphandler
Class AddNumbersImpl

java.lang.Object
  extended by org.apache.servicemix.examples.cxf.soaphandler.AddNumbersImpl
All Implemented Interfaces:
AddNumbers

public class AddNumbersImpl
extends java.lang.Object
implements AddNumbers


Constructor Summary
AddNumbersImpl()
           
 
Method Summary
 int addNumbers(int number1, int number2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddNumbersImpl

public AddNumbersImpl()
Method Detail

addNumbers

public int addNumbers(int number1,
                      int number2)
               throws AddNumbersFault
Specified by:
addNumbers in interface AddNumbers
Parameters:
number1 -
number2 -
Returns:
The sum
Throws:
AddNumbersException - if any of the numbers to be added is negative.
AddNumbersFault


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.