diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/tags/2.0-Beta1-RC1/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java | 232 |
1 files changed, 0 insertions, 232 deletions
diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java b/sca-java-2.x/tags/2.0-Beta1-RC1/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java deleted file mode 100644 index c6e8c2a4e0..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java +++ /dev/null @@ -1,232 +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.binding.corba.testing.generated; - -/** -* org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java . -* Generated by the IDL-to-Java compiler (portable), version "3.2" -* from general_tests.idl -* monday, 23 june 2008 14:12:28 CEST -*/ - -public abstract class _ArraysSetterImplBase extends org.omg.CORBA.portable.ObjectImpl implements - org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter, org.omg.CORBA.portable.InvokeHandler { - - // Constructors - public _ArraysSetterImplBase() { - } - - private static java.util.Hashtable _methods = new java.util.Hashtable(); - static { - _methods.put("setBoolean", new java.lang.Integer(0)); - _methods.put("setChar", new java.lang.Integer(1)); - _methods.put("setWchar", new java.lang.Integer(2)); - _methods.put("setOctet", new java.lang.Integer(3)); - _methods.put("setShort", new java.lang.Integer(4)); - _methods.put("setUnsignedShort", new java.lang.Integer(5)); - _methods.put("setLong", new java.lang.Integer(6)); - _methods.put("setUnsignedLong", new java.lang.Integer(7)); - _methods.put("setLongLong", new java.lang.Integer(8)); - _methods.put("setUnsignedLongLong", new java.lang.Integer(9)); - _methods.put("setFloat", new java.lang.Integer(10)); - _methods.put("setDouble", new java.lang.Integer(11)); - _methods.put("setString", new java.lang.Integer(12)); - _methods.put("setWstring", new java.lang.Integer(13)); - _methods.put("setRemoteObject", new java.lang.Integer(14)); - } - - public org.omg.CORBA.portable.OutputStream _invoke(String $method, - org.omg.CORBA.portable.InputStream in, - org.omg.CORBA.portable.ResponseHandler $rh) { - org.omg.CORBA.portable.OutputStream out = null; - java.lang.Integer __method = (java.lang.Integer)_methods.get($method); - if (__method == null) - throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - - switch (__method.intValue()) { - case 0: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setBoolean - { - boolean arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.boolean_listHelper.read(in); - boolean $result[] = null; - $result = this.setBoolean(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.boolean_listHelper.write(out, $result); - break; - } - - case 1: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setChar - { - char arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.char_listHelper.read(in); - char $result[] = null; - $result = this.setChar(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.char_listHelper.write(out, $result); - break; - } - - case 2: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setWchar - { - char arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.wchar_listHelper.read(in); - char $result[] = null; - $result = this.setWchar(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.wchar_listHelper.write(out, $result); - break; - } - - case 3: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setOctet - { - byte arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.octet_listHelper.read(in); - byte $result[] = null; - $result = this.setOctet(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.octet_listHelper.write(out, $result); - break; - } - - case 4: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setShort - { - short arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.short_listHelper.read(in); - short $result[] = null; - $result = this.setShort(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.short_listHelper.write(out, $result); - break; - } - - case 5: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setUnsignedShort - { - short arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_short_listHelper.read(in); - short $result[] = null; - $result = this.setUnsignedShort(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_short_listHelper.write(out, $result); - break; - } - - case 6: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setLong - { - int arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.long_listHelper.read(in); - int $result[] = null; - $result = this.setLong(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.long_listHelper.write(out, $result); - break; - } - - case 7: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setUnsignedLong - { - int arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_listHelper.read(in); - int $result[] = null; - $result = this.setUnsignedLong(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_listHelper.write(out, $result); - break; - } - - case 8: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setLongLong - { - long arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.long_long_listHelper.read(in); - long $result[] = null; - $result = this.setLongLong(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.long_long_listHelper.write(out, $result); - break; - } - - case 9: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setUnsignedLongLong - { - long arg[] = - org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_long_listHelper.read(in); - long $result[] = null; - $result = this.setUnsignedLongLong(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_long_listHelper - .write(out, $result); - break; - } - - case 10: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setFloat - { - float arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.float_listHelper.read(in); - float $result[] = null; - $result = this.setFloat(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.float_listHelper.write(out, $result); - break; - } - - case 11: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setDouble - { - double arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.double_listHelper.read(in); - double $result[] = null; - $result = this.setDouble(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.double_listHelper.write(out, $result); - break; - } - - case 12: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setString - { - String arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.read(in); - String $result[] = null; - $result = this.setString(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.write(out, $result); - break; - } - - case 13: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setWstring - { - String arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.wstring_listHelper.read(in); - String $result[] = null; - $result = this.setWstring(arg); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.wstring_listHelper.write(out, $result); - break; - } - - case 14: // org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter/setRemoteObject - { - org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject obj[] = - org.apache.tuscany.sca.binding.corba.testing.generated.remote_object_listHelper.read(in); - org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject $result[] = null; - $result = this.setRemoteObject(obj); - out = $rh.createReply(); - org.apache.tuscany.sca.binding.corba.testing.generated.remote_object_listHelper.write(out, $result); - break; - } - - default: - throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); - } - - return out; - } // _invoke - - // Type-specific CORBA::Object operations - private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter:1.0"}; - - @Override - public String[] _ids() { - return (String[])__ids.clone(); - } - -} // class _ArraysSetterImplBase |