diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java index 0a34404281..8214d7ad70 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java @@ -6,15 +6,15 @@ * to you 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. + * under the License. */ package echo; @@ -31,12 +31,12 @@ import bean.TestBean; /** * A simple client component that uses a reference with an JSONRPC binding. - * + * * @version $Rev$ $Date$ */ -public class EchoComponentImpl implements Echo { +public class EchoComponentImpl implements Echo { - public String echo(String msg) { + public String echo(String msg) { System.out.println("Echo: "+ msg); return "echo: " + msg; } @@ -55,6 +55,11 @@ public class EchoComponentImpl implements Echo { return value; } + public double echoDouble(double param) { + double value = param; + return param; + } + public boolean echoBoolean(boolean param) { boolean value = param; return value; @@ -100,8 +105,8 @@ public class EchoComponentImpl implements Echo { public void get\u03a9\u03bb\u03c0() { } - + public BigDecimal echoBigDecimal(BigDecimal param) { return param; - } + } } |