summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java')
-rw-r--r--sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java139
1 files changed, 0 insertions, 139 deletions
diff --git a/sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java b/sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java
deleted file mode 100644
index e55d2527f4..0000000000
--- a/sca-java-2.x/tags/2.0-Beta2-RC1/testing/itest/databindings/jaxb-top-down/src/main/java/org/apache/tuscany/sca/itest/databindings/jaxb/impl/PrimitivesServiceClientImpl.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * 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 org.apache.tuscany.sca.itest.databindings.jaxb.impl;
-
-import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesService;
-import org.apache.tuscany.sca.itest.databindings.jaxb.PrimitivesServiceClient;
-import org.oasisopen.sca.annotation.Reference;
-import org.oasisopen.sca.annotation.Service;
-
-/**
- * An implementation of PrimitivesServiceClient.
- * The client forwards the request to the service component and returns the response from the service component.
- *
- * @version $Rev$ $Date$
- */
-@Service(PrimitivesServiceClient.class)
-public class PrimitivesServiceClientImpl {
-
- private PrimitivesService service;
-
- @Reference
- public void setPrimitivesService(PrimitivesService service) {
- this.service = service;
- }
- public boolean negateBooleanForward(boolean flag) {
- return service.negateBoolean(flag);
- }
-
- public boolean[] negateBooleanArrayForward(boolean[] flags) {
- return service.negateBooleanArray(flags);
- }
-
- public boolean passByValueBooleanArray() {
- boolean[] req = new boolean[2];
- boolean[] resp = service.identityBooleanArray(req);
- return req != resp;
- }
-
- public byte negateByteForward(byte b) {
- return service.negateByte(b);
- }
-
- public byte[] negateByteArrayForward(byte[] ba) {
- return service.negateByteArray(ba);
- }
-
- public boolean passByValueByteArray() {
- byte[] req = new byte[2];
- byte[] resp = service.identityByteArray(req);
- return req != resp;
- }
-
- public short negateShortForward(short s) {
- return service.negateShort(s);
- }
-
- public short[] negateShortArrayForward(short[] s) {
- return service.negateShortArray(s);
- }
-
- public boolean passByValueShortArray() {
- short[] req = new short[2];
- short[] resp = service.identityShortArray(req);
- return req != resp;
- }
-
- public int negateIntForward(int i) {
- return service.negateInt(i);
- }
-
- public int[] negateIntArrayForward(int[] ia) {
- return service.negateIntArray(ia);
- }
-
- public boolean passByValueIntArray() {
- int[] req = new int[2];
- int[] resp = service.identityIntArray(req);
- return req != resp;
- }
-
- public long negateLongForward(long l) {
- return service.negateLong(l);
- }
-
- public long[] negateLongArrayForward(long[] la) {
- return service.negateLongArray(la);
- }
-
- public boolean passByValueLongArray() {
- long[] req = new long[2];
- long[] resp = service.identityLongArray(req);
- return req != resp;
- }
-
- public float negateFloatForward(float f) {
- return service.negateFloat(f);
- }
-
- public float[] negateFloatArrayForward(float[] fa) {
- return service.negateFloatArray(fa);
- }
-
- public boolean passByValueFloatArray() {
- float[] req = new float[2];
- float[] resp = service.identityFloatArray(req);
- return req != resp;
- }
-
- public double negateDoubleForward(double d) {
- return service.negateDouble(d);
- }
-
- public double[] negateDoubleArrayForward(double[] da) {
- return service.negateDoubleArray(da);
- }
-
- public boolean passByValueDoubleArray() {
- double[] req = new double[2];
- double[] resp = service.identityDoubleArray(req);
- return req != resp;
- }
-}