diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-27 10:50:45 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-27 10:50:45 +0000 |
commit | 1c0d8a7ab823150bdbece285e71cd6f414621cfc (patch) | |
tree | 74502a44ff34296d54e22b9a1b53950badcfd0af /sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java | |
parent | c5e532242f6f7f4bcc6938edd79022da2cb14cc3 (diff) |
Start branch for beta2 release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java')
-rw-r--r-- | sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java b/sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java new file mode 100644 index 0000000000..9a2d41146e --- /dev/null +++ b/sca-java-2.x/branches/2.0-Beta2/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoClientImpl.java @@ -0,0 +1,97 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * 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. + */ + +package echo; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.oasisopen.sca.annotation.Reference; + +import bean.TestBean; + +public class EchoClientImpl implements Echo { + @Reference + protected Echo echoReference; + + public String echo(String msg) { + return echoReference.echo(msg); + } + + public void echoVoid() { + echoReference.echoVoid(); + } + + public int[] echoArrayInt(int[] intArray) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public String[] echoArrayString(String[] stringArray) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public TestBean echoBean(TestBean testBean) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public boolean echoBoolean(boolean param) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public void echoBusinessException() throws EchoBusinessException { + throw new UnsupportedOperationException("UNsupported !"); + } + + public int echoInt(int param) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public double echoDouble(double param) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public List echoList(ArrayList list) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public Map echoMap(HashMap map) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public void echoRuntimeException() throws RuntimeException { + throw new UnsupportedOperationException("UNsupported !"); + } + + public Set echoSet(HashSet set) { + throw new UnsupportedOperationException("UNsupported !"); + } + + public void get\u03a9\u03bb\u03c0() { + throw new UnsupportedOperationException("UNsupported !"); + } + + public BigDecimal echoBigDecimal(BigDecimal param) { + throw new UnsupportedOperationException("UNsupported !"); + } +} |