index int64 0 0 | repo_id stringlengths 9 205 | file_path stringlengths 31 246 | content stringlengths 1 12.2M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstructionPolicy.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstructionPolicy:1.0
//
/***/
public interface ConstructionPolicy extends ConstructionPolicyOperations,
Policy
{
}
| 4,400 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ULongSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ULongSeq:1.0
//
final public class ULongSeqHolder implements org.omg.CORBA.portable.Streamable
{
public int[] value;
public
ULongSeqHolder()
{
}
public
ULongSeqHolder(int[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ULongSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ULongSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ULongSeqHelper.type();
}
}
| 4,401 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ARG_OUT.java | /*
* 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.omg.CORBA;
public interface ARG_OUT {
int value = 2;
}
| 4,402 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstantDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstantDef:1.0
//
/***/
public interface ConstantDefOperations extends ContainedOperations
{
//
// IDL:omg.org/CORBA/ConstantDef/type:1.0
//
/***/
org.omg.CORBA.TypeCode
type();
//
// IDL:omg.org/CORBA/ConstantDef/type_def:1.0
//
/***/
IDLType
type_def();
void
type_def(IDLType val);
//
// IDL:omg.org/CORBA/ConstantDef/value:1.0
//
/***/
org.omg.CORBA.Any
value();
void
value(org.omg.CORBA.Any val);
}
| 4,403 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTF_REPOSHelper.java | /*
* 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.omg.CORBA;
final public class INTF_REPOSHelper {
public static void insert(Any any, INTF_REPOS val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static INTF_REPOS extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "INTF_REPOS", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/INTF_REPOS:1.0";
}
public static INTF_REPOS read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
INTF_REPOS val = new INTF_REPOS();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
INTF_REPOS val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,404 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FixedDef.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/FixedDef:1.0
//
/***/
public interface FixedDef extends FixedDefOperations,
IDLType,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,405 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StringSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/StringSeq:1.0
//
final public class StringSeqHolder implements org.omg.CORBA.portable.Streamable
{
public String[] value;
public
StringSeqHolder()
{
}
public
StringSeqHolder(String[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = StringSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
StringSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return StringSeqHelper.type();
}
}
| 4,406 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ExceptionDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ExceptionDef:1.0
//
/***/
public interface ExceptionDefOperations extends ContainedOperations,
ContainerOperations
{
//
// IDL:omg.org/CORBA/ExceptionDef/type:1.0
//
/***/
org.omg.CORBA.TypeCode
type();
//
// IDL:omg.org/CORBA/ExceptionDef/members:1.0
//
/***/
StructMember[]
members();
void
members(StructMember[] val);
}
| 4,407 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainerHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/Container:1.0
//
final public class ContainerHelper
{
public static void
insert(org.omg.CORBA.Any any, Container val)
{
any.insert_Object(val, type());
}
public static Container
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "Container");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Container:1.0";
}
public static Container
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (Container)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ContainerStub _ob_stub = new _ContainerStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Container val)
{
out.write_Object(val);
}
public static Container
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Container)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ContainerStub _ob_stub = new _ContainerStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static Container
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Container)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ContainerStub _ob_stub = new _ContainerStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,408 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StringDefHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/StringDef:1.0
//
final public class StringDefHolder implements org.omg.CORBA.portable.Streamable
{
public StringDef value;
public
StringDefHolder()
{
}
public
StringDefHolder(StringDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = StringDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
StringDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return StringDefHelper.type();
}
}
| 4,409 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ArrayDefHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ArrayDef:1.0
//
final public class ArrayDefHolder implements org.omg.CORBA.portable.Streamable
{
public ArrayDef value;
public
ArrayDefHolder()
{
}
public
ArrayDefHolder(ArrayDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ArrayDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ArrayDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ArrayDefHelper.type();
}
}
| 4,410 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstructionPolicyOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstructionPolicy:1.0
//
/***/
public interface ConstructionPolicyOperations extends PolicyOperations
{
//
// IDL:omg.org/CORBA/ConstructionPolicy/make_domain_manager:1.0
//
/***/
void
make_domain_manager(InterfaceDef object_type,
boolean constr_policy);
}
| 4,411 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INVALID_TRANSACTIONHolder.java | /*
* 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.omg.CORBA;
final public class INVALID_TRANSACTIONHolder implements
org.omg.CORBA.portable.Streamable {
public INVALID_TRANSACTION value;
public INVALID_TRANSACTIONHolder() {
}
public INVALID_TRANSACTIONHolder(INVALID_TRANSACTION initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = INVALID_TRANSACTIONHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
INVALID_TRANSACTIONHelper.write(out, value);
}
public TypeCode _type() {
return INVALID_TRANSACTIONHelper.type();
}
}
| 4,412 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceDetailTypeHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceDetailType:1.0
//
final public class ServiceDetailTypeHelper
{
public static void
insert(org.omg.CORBA.Any any, int val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ServiceDetailType", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ServiceDetailType:1.0";
}
public static int
read(org.omg.CORBA.portable.InputStream in)
{
int _ob_v;
_ob_v = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int val)
{
out.write_ulong(val);
}
}
| 4,413 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueBoxDefHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueBoxDef:1.0
//
final public class ValueBoxDefHolder implements org.omg.CORBA.portable.Streamable
{
public ValueBoxDef value;
public
ValueBoxDefHolder()
{
}
public
ValueBoxDefHolder(ValueBoxDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ValueBoxDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ValueBoxDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ValueBoxDefHelper.type();
}
}
| 4,414 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/WStringValueHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/WStringValue:1.0
//
final public class WStringValueHolder implements org.omg.CORBA.portable.Streamable
{
public String value;
public
WStringValueHolder()
{
}
public
WStringValueHolder(String initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = WStringValueHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
WStringValueHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return WStringValueHelper.type();
}
}
| 4,415 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDef:1.0
//
/***/
public interface InterfaceDefOperations extends ContainerOperations,
ContainedOperations,
IDLTypeOperations
{
//
// IDL:omg.org/CORBA/InterfaceDef/base_interfaces:1.0
//
/***/
InterfaceDef[]
base_interfaces();
void
base_interfaces(InterfaceDef[] val);
//
// IDL:omg.org/CORBA/InterfaceDef/is_a:1.0
//
/***/
boolean
is_a(String interface_id);
//
// IDL:omg.org/CORBA/InterfaceDef/describe_interface:1.0
//
/***/
org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription
describe_interface();
//
// IDL:omg.org/CORBA/InterfaceDef/create_attribute:1.0
//
/***/
AttributeDef
create_attribute(String id,
String name,
String version,
IDLType type,
AttributeMode mode);
//
// IDL:omg.org/CORBA/InterfaceDef/create_operation:1.0
//
/***/
OperationDef
create_operation(String id,
String name,
String version,
IDLType result,
OperationMode mode,
ParameterDescription[] params,
ExceptionDef[] exceptions,
String[] contexts);
}
| 4,416 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ShortSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ShortSeq:1.0
//
final public class ShortSeqHolder implements org.omg.CORBA.portable.Streamable
{
public short[] value;
public
ShortSeqHolder()
{
}
public
ShortSeqHolder(short[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ShortSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ShortSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ShortSeqHelper.type();
}
}
| 4,417 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PERSIST_STORE.java | /*
* 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.omg.CORBA;
final public class PERSIST_STORE extends org.omg.CORBA.SystemException {
public PERSIST_STORE() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public PERSIST_STORE(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public PERSIST_STORE(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public PERSIST_STORE(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,418 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_LocalInterfaceDefStub.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/LocalInterfaceDef:1.0
//
public class _LocalInterfaceDefStub extends org.omg.CORBA.portable.ObjectImpl
implements LocalInterfaceDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/LocalInterfaceDef:1.0",
"IDL:omg.org/CORBA/InterfaceDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = LocalInterfaceDefOperations.class;
//
// IDL:omg.org/CORBA/InterfaceDef/base_interfaces:1.0
//
public InterfaceDef[]
base_interfaces()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_base_interfaces", true);
in = _invoke(out);
InterfaceDef[] _ob_r = InterfaceDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.base_interfaces();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
base_interfaces(InterfaceDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_base_interfaces", true);
InterfaceDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.base_interfaces(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/LocalInterfaceDef/_OB_create_operation:1.0
//
public OperationDef
_OB_create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
NativeDef[] _ob_a7,
String[] _ob_a8)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_OB_create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
NativeDefSeqHelper.write(out, _ob_a7);
ContextIdSeqHelper.write(out, _ob_a8);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("_OB_create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self._OB_create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/is_a:1.0
//
public boolean
is_a(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("is_a", true);
RepositoryIdHelper.write(out, _ob_a0);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_a", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.is_a(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/describe_interface:1.0
//
public org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription
describe_interface()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_interface", true);
in = _invoke(out);
org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription _ob_r = org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_interface", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_interface();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_attribute:1.0
//
public AttributeDef
create_attribute(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
AttributeMode _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_attribute", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
AttributeModeHelper.write(out, _ob_a4);
in = _invoke(out);
AttributeDef _ob_r = AttributeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_attribute", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_attribute(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_operation:1.0
//
public OperationDef
create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
String[] _ob_a7)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
ContextIdSeqHelper.write(out, _ob_a7);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
LocalInterfaceDefOperations _ob_self = (LocalInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,419 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTERNALHelper.java | /*
* 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.omg.CORBA;
final public class INTERNALHelper {
public static void insert(Any any, INTERNAL val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static INTERNAL extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "INTERNAL", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/INTERNAL:1.0";
}
public static INTERNAL read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
INTERNAL val = new INTERNAL();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
INTERNAL val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,420 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstantDescriptionHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstantDescription:1.0
//
final public class ConstantDescriptionHolder implements org.omg.CORBA.portable.Streamable
{
public ConstantDescription value;
public
ConstantDescriptionHolder()
{
}
public
ConstantDescriptionHolder(ConstantDescription initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ConstantDescriptionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ConstantDescriptionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ConstantDescriptionHelper.type();
}
}
| 4,421 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CharSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/CharSeq:1.0
//
public abstract class CharSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, char[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static char[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "CharSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_char)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/CharSeq:1.0";
}
public static char[]
read(org.omg.CORBA.portable.InputStream in)
{
char[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new char[len0];
in.read_char_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, char[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_char_array(val, 0, len0);
}
}
| 4,422 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ModuleDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ModuleDef:1.0
//
/***/
public interface ModuleDefOperations extends ContainerOperations,
ContainedOperations
{
}
| 4,423 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TRANSACTION_MODEHelper.java | /*
* 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.omg.CORBA;
final public class TRANSACTION_MODEHelper {
public static void insert(Any any, TRANSACTION_MODE val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TRANSACTION_MODE extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "TRANSACTION_MODE",
members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TRANSACTION_MODE:1.0";
}
public static TRANSACTION_MODE read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
TRANSACTION_MODE val = new TRANSACTION_MODE();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
TRANSACTION_MODE val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,424 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NamedValue.java | /*
* 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.omg.CORBA;
public abstract class NamedValue {
public abstract String name();
public abstract Any value();
public abstract int flags();
}
| 4,425 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NativeDescriptionHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/NativeDescription:1.0
//
final public class NativeDescriptionHolder implements org.omg.CORBA.portable.Streamable
{
public NativeDescription value;
public
NativeDescriptionHolder()
{
}
public
NativeDescriptionHolder(NativeDescription initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NativeDescriptionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NativeDescriptionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NativeDescriptionHelper.type();
}
}
| 4,426 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ContainedStub.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/Contained:1.0
//
public class _ContainedStub extends org.omg.CORBA.portable.ObjectImpl
implements Contained
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ContainedOperations.class;
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ContainedOperations _ob_self = (ContainedOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,427 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UNKNOWNHelper.java | /*
* 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.omg.CORBA;
final public class UNKNOWNHelper {
public static void insert(Any any, UNKNOWN val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static UNKNOWN extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "UNKNOWN", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/UNKNOWN:1.0";
}
public static UNKNOWN read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
UNKNOWN val = new UNKNOWN();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
UNKNOWN val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,428 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstructionPolicyHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstructionPolicy:1.0
//
final public class ConstructionPolicyHelper
{
public static void
insert(org.omg.CORBA.Any any, ConstructionPolicy val)
{
any.insert_Object(val, type());
}
public static ConstructionPolicy
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "ConstructionPolicy");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ConstructionPolicy:1.0";
}
public static ConstructionPolicy
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ConstructionPolicy val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static ConstructionPolicy
narrow(org.omg.CORBA.Object val)
{
try
{
return (ConstructionPolicy)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,429 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/OBJ_ADAPTER.java | /*
* 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.omg.CORBA;
final public class OBJ_ADAPTER extends org.omg.CORBA.SystemException {
public OBJ_ADAPTER() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public OBJ_ADAPTER(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public OBJ_ADAPTER(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public OBJ_ADAPTER(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,430 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_AbstractInterfaceDefStub.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/AbstractInterfaceDef:1.0
//
public class _AbstractInterfaceDefStub extends org.omg.CORBA.portable.ObjectImpl
implements AbstractInterfaceDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/AbstractInterfaceDef:1.0",
"IDL:omg.org/CORBA/InterfaceDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = AbstractInterfaceDefOperations.class;
//
// IDL:omg.org/CORBA/InterfaceDef/base_interfaces:1.0
//
public InterfaceDef[]
base_interfaces()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_base_interfaces", true);
in = _invoke(out);
InterfaceDef[] _ob_r = InterfaceDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.base_interfaces();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
base_interfaces(InterfaceDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_base_interfaces", true);
InterfaceDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.base_interfaces(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/is_a:1.0
//
public boolean
is_a(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("is_a", true);
RepositoryIdHelper.write(out, _ob_a0);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_a", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.is_a(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/describe_interface:1.0
//
public org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription
describe_interface()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_interface", true);
in = _invoke(out);
org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription _ob_r = org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_interface", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_interface();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_attribute:1.0
//
public AttributeDef
create_attribute(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
AttributeMode _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_attribute", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
AttributeModeHelper.write(out, _ob_a4);
in = _invoke(out);
AttributeDef _ob_r = AttributeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_attribute", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_attribute(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_operation:1.0
//
public OperationDef
create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
String[] _ob_a7)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
ContextIdSeqHelper.write(out, _ob_a7);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
AbstractInterfaceDefOperations _ob_self = (AbstractInterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,431 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ByteHolder.java | /*
* 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.omg.CORBA;
final public class ByteHolder implements org.omg.CORBA.portable.Streamable {
public byte value;
public ByteHolder() {
}
public ByteHolder(byte initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_octet();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_octet(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_octet);
}
}
| 4,432 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LocalObject.java | /*
* 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.omg.CORBA;
public class LocalObject implements org.omg.CORBA.Object {
public boolean _is_a(String repository_id) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public boolean _is_equivalent(org.omg.CORBA.Object rhs) {
return equals(rhs);
}
public boolean _non_existent() {
return false;
}
public int _hash(int maximum) {
//
// Calculate a local hash value
//
return hashCode() % (maximum + 1);
}
public org.omg.CORBA.Object _duplicate() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public void _release() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
/**
* @deprecated Deprecated by CORBA 2.3.
*/
public org.omg.CORBA.InterfaceDef _get_interface() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Object _get_interface_def() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.ORB _orb() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Request _request(String operation) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList excepts,
org.omg.CORBA.ContextList contexts) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Policy _get_policy(int policy_type) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.Object _set_policy_override(
org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public boolean _is_local() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.portable.ServantObject _servant_preinvoke(
String operation, Class expectedType) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public void _servant_postinvoke(
org.omg.CORBA.portable.ServantObject servant) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.portable.OutputStream _request(
String operation, boolean responseExcepted) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.portable.InputStream _invoke(
org.omg.CORBA.portable.OutputStream output)
throws org.omg.CORBA.portable.ApplicationException,
org.omg.CORBA.portable.RemarshalException {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public void _releaseReply(
org.omg.CORBA.portable.InputStream input) {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public boolean validate_connection() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4ffd0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
public org.omg.CORBA.DomainManager[] _get_domain_managers() {
throw new org.omg.CORBA.NO_IMPLEMENT(
"operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject
CompletionStatus.COMPLETED_NO);
}
}
| 4,433 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_QOSHolder.java | /*
* 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.omg.CORBA;
final public class BAD_QOSHolder implements org.omg.CORBA.portable.Streamable {
public BAD_QOS value;
public BAD_QOSHolder() {
}
public BAD_QOSHolder(BAD_QOS initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = BAD_QOSHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
BAD_QOSHelper.write(out, value);
}
public TypeCode _type() {
return BAD_QOSHelper.type();
}
}
| 4,434 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ARG_INOUT.java | /*
* 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.omg.CORBA;
public interface ARG_INOUT {
int value = 3;
}
| 4,435 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/Current.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/Current:1.0
//
/***/
public interface Current extends CurrentOperations,
org.omg.CORBA.portable.IDLEntity,
org.omg.CORBA.Object
{
}
| 4,436 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataInputStreamHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/DataInputStream:1.0
//
final public class DataInputStreamHelper
{
public static void
insert(org.omg.CORBA.Any any, DataInputStream val)
{
any.insert_Value(val, type());
}
public static DataInputStream
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof DataInputStream)
return (DataInputStream)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0];
typeCode_ = orb.create_value_tc(id(), "DataInputStream", org.omg.CORBA.VM_ABSTRACT.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/DataInputStream:1.0";
}
public static DataInputStream
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (DataInputStream)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DataInputStream val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,437 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceInformationHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceInformation:1.0
//
final public class ServiceInformationHolder implements org.omg.CORBA.portable.Streamable
{
public ServiceInformation value;
public
ServiceInformationHolder()
{
}
public
ServiceInformationHolder(ServiceInformation initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ServiceInformationHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ServiceInformationHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ServiceInformationHelper.type();
}
}
| 4,438 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ExceptionList.java | /*
* 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.omg.CORBA;
public abstract class ExceptionList {
public abstract int count();
public abstract void add(TypeCode exc);
public abstract TypeCode item(int index) throws org.omg.CORBA.Bounds;
public abstract void remove(int index) throws org.omg.CORBA.Bounds;
}
| 4,439 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LongSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/LongSeq:1.0
//
final public class LongSeqHolder implements org.omg.CORBA.portable.Streamable
{
public int[] value;
public
LongSeqHolder()
{
}
public
LongSeqHolder(int[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = LongSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
LongSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return LongSeqHelper.type();
}
}
| 4,440 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ModuleDescriptionHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ModuleDescription:1.0
//
final public class ModuleDescriptionHolder implements org.omg.CORBA.portable.Streamable
{
public ModuleDescription value;
public
ModuleDescriptionHolder()
{
}
public
ModuleDescriptionHolder(ModuleDescription initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ModuleDescriptionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ModuleDescriptionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ModuleDescriptionHelper.type();
}
}
| 4,441 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/VersionSpecHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/VersionSpec:1.0
//
public abstract class VersionSpecHelper
{
public static void
insert(org.omg.CORBA.Any any, String val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "VersionSpec", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/VersionSpec:1.0";
}
public static String
read(org.omg.CORBA.portable.InputStream in)
{
String _ob_v;
_ob_v = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String val)
{
out.write_string(val);
}
}
| 4,442 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UNKNOWN.java | /*
* 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.omg.CORBA;
final public class UNKNOWN extends org.omg.CORBA.SystemException {
public UNKNOWN() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public UNKNOWN(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public UNKNOWN(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public UNKNOWN(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,443 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/Context.java | /*
* 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.omg.CORBA;
public abstract class Context {
public abstract String context_name();
public abstract Context parent();
public abstract Context create_child(String child_ctx_name);
public abstract void set_one_value(String propname, Any propvalue);
public abstract void set_values(NVList values);
public abstract void delete_values(String propname);
public abstract NVList get_values(String start_scope, int op_flags,
String pattern);
}
| 4,444 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/VM_ABSTRACT.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/VM_ABSTRACT:1.0
//
/***/
public interface VM_ABSTRACT
{
short value = (short)(2L);
}
| 4,445 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_CONTEXT.java | /*
* 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.omg.CORBA;
final public class BAD_CONTEXT extends org.omg.CORBA.SystemException {
public BAD_CONTEXT() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public BAD_CONTEXT(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public BAD_CONTEXT(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public BAD_CONTEXT(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,446 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceInformationHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceInformation:1.0
//
public abstract class ServiceInformationHelper
{
public static void
insert(org.omg.CORBA.Any any, ServiceInformation val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ServiceInformation
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "service_options";
members[0].type = orb.create_sequence_tc(0, ServiceOptionHelper.type());
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "service_details";
members[1].type = orb.create_sequence_tc(0, ServiceDetailHelper.type());
typeCode_ = orb.create_struct_tc(id(), "ServiceInformation", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ServiceInformation:1.0";
}
public static ServiceInformation
read(org.omg.CORBA.portable.InputStream in)
{
ServiceInformation _ob_v = new ServiceInformation();
int len0 = in.read_ulong();
_ob_v.service_options = new int[len0];
in.read_ulong_array(_ob_v.service_options, 0, len0);
int len1 = in.read_ulong();
_ob_v.service_details = new ServiceDetail[len1];
for(int i1 = 0; i1 < len1; i1++)
_ob_v.service_details[i1] = ServiceDetailHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ServiceInformation val)
{
int len0 = val.service_options.length;
out.write_ulong(len0);
out.write_ulong_array(val.service_options, 0, len0);
int len1 = val.service_details.length;
out.write_ulong(len1);
for(int i1 = 0; i1 < len1; i1++)
ServiceDetailHelper.write(out, val.service_details[i1]);
}
}
| 4,447 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TypedefDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/TypedefDef:1.0
//
/***/
public interface TypedefDefOperations extends ContainedOperations,
IDLTypeOperations
{
}
| 4,448 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataInputStreamHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/DataInputStream:1.0
//
final public class DataInputStreamHolder implements org.omg.CORBA.portable.Streamable
{
public DataInputStream value;
public
DataInputStreamHolder()
{
}
public
DataInputStreamHolder(DataInputStream initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DataInputStreamHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DataInputStreamHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DataInputStreamHelper.type();
}
}
| 4,449 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ModuleDescriptionHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ModuleDescription:1.0
//
final public class ModuleDescriptionHelper
{
public static void
insert(org.omg.CORBA.Any any, ModuleDescription val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ModuleDescription
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[4];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "defined_in";
members[2].type = RepositoryIdHelper.type();
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "version";
members[3].type = VersionSpecHelper.type();
typeCode_ = orb.create_struct_tc(id(), "ModuleDescription", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ModuleDescription:1.0";
}
public static ModuleDescription
read(org.omg.CORBA.portable.InputStream in)
{
ModuleDescription _ob_v = new ModuleDescription();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
_ob_v.defined_in = RepositoryIdHelper.read(in);
_ob_v.version = VersionSpecHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ModuleDescription val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
RepositoryIdHelper.write(out, val.defined_in);
VersionSpecHelper.write(out, val.version);
}
}
| 4,450 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LongSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/LongSeq:1.0
//
public abstract class LongSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, int[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "LongSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_long)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/LongSeq:1.0";
}
public static int[]
read(org.omg.CORBA.portable.InputStream in)
{
int[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new int[len0];
in.read_long_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_long_array(val, 0, len0);
}
}
| 4,451 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TypeCode.java | /*
* 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.omg.CORBA;
public abstract class TypeCode implements org.omg.CORBA.portable.IDLEntity {
public abstract boolean equal(TypeCode tc);
public abstract boolean equivalent(TypeCode tc);
public abstract TypeCode get_compact_typecode();
public abstract TCKind kind();
public abstract String id() throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract String name() throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract int member_count()
throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract String member_name(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
org.omg.CORBA.TypeCodePackage.Bounds;
public abstract TypeCode member_type(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
org.omg.CORBA.TypeCodePackage.Bounds;
public abstract Any member_label(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
org.omg.CORBA.TypeCodePackage.Bounds;
public abstract TypeCode discriminator_type()
throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract int default_index()
throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract int length() throws org.omg.CORBA.TypeCodePackage.BadKind;
public abstract TypeCode content_type()
throws org.omg.CORBA.TypeCodePackage.BadKind;
public short fixed_digits() throws org.omg.CORBA.TypeCodePackage.BadKind {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public short fixed_scale() throws org.omg.CORBA.TypeCodePackage.BadKind {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public short member_visibility(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
org.omg.CORBA.TypeCodePackage.Bounds {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public short type_modifier() throws org.omg.CORBA.TypeCodePackage.BadKind {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public TypeCode concrete_base_type()
throws org.omg.CORBA.TypeCodePackage.BadKind {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,452 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstructionPolicyHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstructionPolicy:1.0
//
final public class ConstructionPolicyHolder implements org.omg.CORBA.portable.Streamable
{
public ConstructionPolicy value;
public
ConstructionPolicyHolder()
{
}
public
ConstructionPolicyHolder(ConstructionPolicy initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ConstructionPolicyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ConstructionPolicyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ConstructionPolicyHelper.type();
}
}
| 4,453 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java | /*
* 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.omg.CORBA;
final public class TRANSACTION_ROLLEDBACK extends org.omg.CORBA.SystemException {
public TRANSACTION_ROLLEDBACK() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_ROLLEDBACK(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public TRANSACTION_ROLLEDBACK(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_ROLLEDBACK(String reason, int minor,
CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,454 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UNKNOWNHolder.java | /*
* 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.omg.CORBA;
final public class UNKNOWNHolder implements org.omg.CORBA.portable.Streamable {
public UNKNOWN value;
public UNKNOWNHolder() {
}
public UNKNOWNHolder(UNKNOWN initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = UNKNOWNHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
UNKNOWNHelper.write(out, value);
}
public TypeCode _type() {
return UNKNOWNHelper.type();
}
}
| 4,455 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataInputStream.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/DataInputStream:1.0
//
/***/
public interface DataInputStream extends org.omg.CORBA.portable.ValueBase
{
//
// IDL:omg.org/CORBA/DataInputStream/read_any:1.0
//
/***/
org.omg.CORBA.Any
read_any();
//
// IDL:omg.org/CORBA/DataInputStream/read_boolean:1.0
//
/***/
boolean
read_boolean();
//
// IDL:omg.org/CORBA/DataInputStream/read_char:1.0
//
/***/
char
read_char();
//
// IDL:omg.org/CORBA/DataInputStream/read_wchar:1.0
//
/***/
char
read_wchar();
//
// IDL:omg.org/CORBA/DataInputStream/read_octet:1.0
//
/***/
byte
read_octet();
//
// IDL:omg.org/CORBA/DataInputStream/read_short:1.0
//
/***/
short
read_short();
//
// IDL:omg.org/CORBA/DataInputStream/read_ushort:1.0
//
/***/
short
read_ushort();
//
// IDL:omg.org/CORBA/DataInputStream/read_long:1.0
//
/***/
int
read_long();
//
// IDL:omg.org/CORBA/DataInputStream/read_ulong:1.0
//
/***/
int
read_ulong();
//
// IDL:omg.org/CORBA/DataInputStream/read_longlong:1.0
//
/***/
long
read_longlong();
//
// IDL:omg.org/CORBA/DataInputStream/read_ulonglong:1.0
//
/***/
long
read_ulonglong();
//
// IDL:omg.org/CORBA/DataInputStream/read_float:1.0
//
/***/
float
read_float();
//
// IDL:omg.org/CORBA/DataInputStream/read_double:1.0
//
/***/
double
read_double();
//
// IDL:omg.org/CORBA/DataInputStream/read_string:1.0
//
/***/
String
read_string();
//
// IDL:omg.org/CORBA/DataInputStream/read_wstring:1.0
//
/***/
String
read_wstring();
//
// IDL:omg.org/CORBA/DataInputStream/read_Object:1.0
//
/***/
org.omg.CORBA.Object
read_Object();
//
// IDL:omg.org/CORBA/DataInputStream/read_Abstract:1.0
//
/***/
java.lang.Object
read_Abstract();
//
// IDL:omg.org/CORBA/DataInputStream/read_Value:1.0
//
/***/
java.io.Serializable
read_Value();
//
// IDL:omg.org/CORBA/DataInputStream/read_TypeCode:1.0
//
/***/
org.omg.CORBA.TypeCode
read_TypeCode();
//
// IDL:omg.org/CORBA/DataInputStream/read_any_array:1.0
//
/***/
void
read_any_array(AnySeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_boolean_array:1.0
//
/***/
void
read_boolean_array(BooleanSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_char_array:1.0
//
/***/
void
read_char_array(CharSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_wchar_array:1.0
//
/***/
void
read_wchar_array(WCharSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_octet_array:1.0
//
/***/
void
read_octet_array(OctetSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_short_array:1.0
//
/***/
void
read_short_array(ShortSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_ushort_array:1.0
//
/***/
void
read_ushort_array(UShortSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_long_array:1.0
//
/***/
void
read_long_array(LongSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_ulong_array:1.0
//
/***/
void
read_ulong_array(ULongSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_ulonglong_array:1.0
//
/***/
void
read_ulonglong_array(ULongLongSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_longlong_array:1.0
//
/***/
void
read_longlong_array(LongLongSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_float_array:1.0
//
/***/
void
read_float_array(FloatSeqHolder seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataInputStream/read_double_array:1.0
//
/***/
void
read_double_array(DoubleSeqHolder seq,
int offset,
int length);
}
| 4,456 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PrimitiveKind.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/PrimitiveKind:1.0
//
/***/
public class PrimitiveKind implements org.omg.CORBA.portable.IDLEntity
{
private static PrimitiveKind [] values_ = new PrimitiveKind[22];
private int value_;
public final static int _pk_null = 0;
public final static PrimitiveKind pk_null = new PrimitiveKind(_pk_null);
public final static int _pk_void = 1;
public final static PrimitiveKind pk_void = new PrimitiveKind(_pk_void);
public final static int _pk_short = 2;
public final static PrimitiveKind pk_short = new PrimitiveKind(_pk_short);
public final static int _pk_long = 3;
public final static PrimitiveKind pk_long = new PrimitiveKind(_pk_long);
public final static int _pk_ushort = 4;
public final static PrimitiveKind pk_ushort = new PrimitiveKind(_pk_ushort);
public final static int _pk_ulong = 5;
public final static PrimitiveKind pk_ulong = new PrimitiveKind(_pk_ulong);
public final static int _pk_float = 6;
public final static PrimitiveKind pk_float = new PrimitiveKind(_pk_float);
public final static int _pk_double = 7;
public final static PrimitiveKind pk_double = new PrimitiveKind(_pk_double);
public final static int _pk_boolean = 8;
public final static PrimitiveKind pk_boolean = new PrimitiveKind(_pk_boolean);
public final static int _pk_char = 9;
public final static PrimitiveKind pk_char = new PrimitiveKind(_pk_char);
public final static int _pk_octet = 10;
public final static PrimitiveKind pk_octet = new PrimitiveKind(_pk_octet);
public final static int _pk_any = 11;
public final static PrimitiveKind pk_any = new PrimitiveKind(_pk_any);
public final static int _pk_TypeCode = 12;
public final static PrimitiveKind pk_TypeCode = new PrimitiveKind(_pk_TypeCode);
public final static int _pk_Principal = 13;
public final static PrimitiveKind pk_Principal = new PrimitiveKind(_pk_Principal);
public final static int _pk_string = 14;
public final static PrimitiveKind pk_string = new PrimitiveKind(_pk_string);
public final static int _pk_objref = 15;
public final static PrimitiveKind pk_objref = new PrimitiveKind(_pk_objref);
public final static int _pk_longlong = 16;
public final static PrimitiveKind pk_longlong = new PrimitiveKind(_pk_longlong);
public final static int _pk_ulonglong = 17;
public final static PrimitiveKind pk_ulonglong = new PrimitiveKind(_pk_ulonglong);
public final static int _pk_longdouble = 18;
public final static PrimitiveKind pk_longdouble = new PrimitiveKind(_pk_longdouble);
public final static int _pk_wchar = 19;
public final static PrimitiveKind pk_wchar = new PrimitiveKind(_pk_wchar);
public final static int _pk_wstring = 20;
public final static PrimitiveKind pk_wstring = new PrimitiveKind(_pk_wstring);
public final static int _pk_value_base = 21;
public final static PrimitiveKind pk_value_base = new PrimitiveKind(_pk_value_base);
protected
PrimitiveKind(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static PrimitiveKind
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,457 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_QOSHelper.java | /*
* 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.omg.CORBA;
final public class BAD_QOSHelper {
public static void insert(Any any, BAD_QOS val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BAD_QOS extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "BAD_QOS", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/BAD_QOS:1.0";
}
public static BAD_QOS read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
BAD_QOS val = new BAD_QOS();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
BAD_QOS val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,458 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_MEMORY.java | /*
* 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.omg.CORBA;
final public class NO_MEMORY extends org.omg.CORBA.SystemException {
public NO_MEMORY() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public NO_MEMORY(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public NO_MEMORY(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public NO_MEMORY(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,459 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ShortSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ShortSeq:1.0
//
public abstract class ShortSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, short[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ShortSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ShortSeq:1.0";
}
public static short[]
read(org.omg.CORBA.portable.InputStream in)
{
short[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new short[len0];
in.read_short_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_short_array(val, 0, len0);
}
}
| 4,460 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDescription.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDescription:1.0
//
/***/
final public class InterfaceDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/InterfaceDescription:1.0";
public
InterfaceDescription()
{
}
public
InterfaceDescription(String name,
String id,
String defined_in,
String version,
String[] base_interfaces)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.base_interfaces = base_interfaces;
}
public String name;
public String id;
public String defined_in;
public String version;
public String[] base_interfaces;
}
| 4,461 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ArrayDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ArrayDef:1.0
//
/***/
public interface ArrayDefOperations extends IDLTypeOperations
{
//
// IDL:omg.org/CORBA/ArrayDef/length:1.0
//
/***/
int
length();
void
length(int val);
//
// IDL:omg.org/CORBA/ArrayDef/element_type:1.0
//
/***/
org.omg.CORBA.TypeCode
element_type();
//
// IDL:omg.org/CORBA/ArrayDef/element_type_def:1.0
//
/***/
IDLType
element_type_def();
void
element_type_def(IDLType val);
}
| 4,462 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IMP_LIMIT.java | /*
* 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.omg.CORBA;
final public class IMP_LIMIT extends org.omg.CORBA.SystemException {
public IMP_LIMIT() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public IMP_LIMIT(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public IMP_LIMIT(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public IMP_LIMIT(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,463 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTERNALHolder.java | /*
* 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.omg.CORBA;
final public class INTERNALHolder implements org.omg.CORBA.portable.Streamable {
public INTERNAL value;
public INTERNALHolder() {
}
public INTERNALHolder(INTERNAL initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = INTERNALHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
INTERNALHelper.write(out, value);
}
public TypeCode _type() {
return INTERNALHelper.type();
}
}
| 4,464 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CharSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/CharSeq:1.0
//
final public class CharSeqHolder implements org.omg.CORBA.portable.Streamable
{
public char[] value;
public
CharSeqHolder()
{
}
public
CharSeqHolder(char[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = CharSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
CharSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return CharSeqHelper.type();
}
}
| 4,465 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstantDescriptionHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstantDescription:1.0
//
final public class ConstantDescriptionHelper
{
public static void
insert(org.omg.CORBA.Any any, ConstantDescription val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ConstantDescription
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[6];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "defined_in";
members[2].type = RepositoryIdHelper.type();
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "version";
members[3].type = VersionSpecHelper.type();
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "type";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode);
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "value";
members[5].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any);
typeCode_ = orb.create_struct_tc(id(), "ConstantDescription", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ConstantDescription:1.0";
}
public static ConstantDescription
read(org.omg.CORBA.portable.InputStream in)
{
ConstantDescription _ob_v = new ConstantDescription();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
_ob_v.defined_in = RepositoryIdHelper.read(in);
_ob_v.version = VersionSpecHelper.read(in);
_ob_v.type = in.read_TypeCode();
_ob_v.value = in.read_any();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ConstantDescription val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
RepositoryIdHelper.write(out, val.defined_in);
VersionSpecHelper.write(out, val.version);
out.write_TypeCode(val.type);
out.write_any(val.value);
}
}
| 4,466 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TRANSACTION_MODEHolder.java | /*
* 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.omg.CORBA;
final public class TRANSACTION_MODEHolder implements
org.omg.CORBA.portable.Streamable {
public TRANSACTION_MODE value;
public TRANSACTION_MODEHolder() {
}
public TRANSACTION_MODEHolder(TRANSACTION_MODE initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = TRANSACTION_MODEHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
TRANSACTION_MODEHelper.write(out, value);
}
public TypeCode _type() {
return TRANSACTION_MODEHelper.type();
}
}
| 4,467 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NativeDescriptionHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/NativeDescription:1.0
//
final public class NativeDescriptionHelper
{
public static void
insert(org.omg.CORBA.Any any, NativeDescription val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NativeDescription
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
typeCode_ = orb.create_struct_tc(id(), "NativeDescription", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/NativeDescription:1.0";
}
public static NativeDescription
read(org.omg.CORBA.portable.InputStream in)
{
NativeDescription _ob_v = new NativeDescription();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NativeDescription val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
}
}
| 4,468 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ExceptionDescription.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ExceptionDescription:1.0
//
/***/
final public class ExceptionDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ExceptionDescription:1.0";
public
ExceptionDescription()
{
}
public
ExceptionDescription(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode type)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.type = type;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode type;
}
| 4,469 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ArrayDefHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ArrayDef:1.0
//
final public class ArrayDefHelper
{
public static void
insert(org.omg.CORBA.Any any, ArrayDef val)
{
any.insert_Object(val, type());
}
public static ArrayDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "ArrayDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ArrayDef:1.0";
}
public static ArrayDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (ArrayDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ArrayDefStub _ob_stub = new _ArrayDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ArrayDef val)
{
out.write_Object(val);
}
public static ArrayDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ArrayDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ArrayDefStub _ob_stub = new _ArrayDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static ArrayDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ArrayDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ArrayDefStub _ob_stub = new _ArrayDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,470 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INVALID_TRANSACTIONHelper.java | /*
* 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.omg.CORBA;
final public class INVALID_TRANSACTIONHelper {
public static void insert(Any any, INVALID_TRANSACTION val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static INVALID_TRANSACTION extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "INVALID_TRANSACTION",
members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/INVALID_TRANSACTION:1.0";
}
public static INVALID_TRANSACTION read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
INVALID_TRANSACTION val = new INVALID_TRANSACTION();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
INVALID_TRANSACTION val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,471 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueBoxDefHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueBoxDef:1.0
//
final public class ValueBoxDefHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueBoxDef val)
{
any.insert_Object(val, type());
}
public static ValueBoxDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "ValueBoxDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueBoxDef:1.0";
}
public static ValueBoxDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (ValueBoxDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ValueBoxDefStub _ob_stub = new _ValueBoxDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueBoxDef val)
{
out.write_Object(val);
}
public static ValueBoxDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ValueBoxDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ValueBoxDefStub _ob_stub = new _ValueBoxDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static ValueBoxDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ValueBoxDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ValueBoxDefStub _ob_stub = new _ValueBoxDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,472 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/WStringValueHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/WStringValue:1.0
//
public class WStringValueHelper implements org.omg.CORBA.portable.BoxedValueHelper
{
private static final WStringValueHelper _instance = new WStringValueHelper();
public static void
insert(org.omg.CORBA.Any any, String val)
{
any.insert_Value((java.io.Serializable)val, type());
}
public static String
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof String)
return (String)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_value_box_tc(id(), "WStringValue", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_wstring));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/WStringValue:1.0";
}
public static String
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (String)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(_instance);
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value((java.io.Serializable)val, _instance);
}
public java.io.Serializable
read_value(org.omg.CORBA.portable.InputStream in)
{
String _ob_v;
_ob_v = in.read_wstring();
return (java.io.Serializable)_ob_v;
}
public void
write_value(org.omg.CORBA.portable.OutputStream out, java.io.Serializable val)
{
if(!(val instanceof String))
throw new org.omg.CORBA.MARSHAL();
String _ob_value = (String)val;
out.write_wstring(_ob_value);
}
public String
get_id()
{
return id();
}
}
| 4,473 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LongLongSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/LongLongSeq:1.0
//
public abstract class LongLongSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, long[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static long[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "LongLongSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_longlong)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/LongLongSeq:1.0";
}
public static long[]
read(org.omg.CORBA.portable.InputStream in)
{
long[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new long[len0];
in.read_longlong_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, long[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_longlong_array(val, 0, len0);
}
}
| 4,474 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InitializerHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/Initializer:1.0
//
final public class InitializerHelper
{
public static void
insert(org.omg.CORBA.Any any, Initializer val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Initializer
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "members";
members[0].type = StructMemberSeqHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "name";
members[1].type = IdentifierHelper.type();
typeCode_ = orb.create_struct_tc(id(), "Initializer", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Initializer:1.0";
}
public static Initializer
read(org.omg.CORBA.portable.InputStream in)
{
Initializer _ob_v = new Initializer();
_ob_v.members = StructMemberSeqHelper.read(in);
_ob_v.name = IdentifierHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Initializer val)
{
StructMemberSeqHelper.write(out, val.members);
IdentifierHelper.write(out, val.name);
}
}
| 4,475 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainedSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ContainedSeq:1.0
//
final public class ContainedSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, Contained[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Contained[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ContainedSeq", orb.create_sequence_tc(0, ContainedHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ContainedSeq:1.0";
}
public static Contained[]
read(org.omg.CORBA.portable.InputStream in)
{
Contained[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new Contained[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ContainedHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Contained[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ContainedHelper.write(out, val[i0]);
}
}
| 4,476 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PRIVATE_MEMBER.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/PRIVATE_MEMBER:1.0
//
/***/
public interface PRIVATE_MEMBER
{
short value = (short)(0L);
}
| 4,477 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/WrongTransaction.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/WrongTransaction:1.0
//
/***/
final public class WrongTransaction extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/CORBA/WrongTransaction:1.0";
public
WrongTransaction()
{
super(_ob_id);
}
public
WrongTransaction(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,478 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ULongLongSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ULongLongSeq:1.0
//
public abstract class ULongLongSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, long[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static long[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ULongLongSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulonglong)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ULongLongSeq:1.0";
}
public static long[]
read(org.omg.CORBA.portable.InputStream in)
{
long[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new long[len0];
in.read_ulonglong_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, long[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_ulonglong_array(val, 0, len0);
}
}
| 4,479 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceDetail.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceDetail:1.0
//
/***/
final public class ServiceDetail implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ServiceDetail:1.0";
public
ServiceDetail()
{
}
public
ServiceDetail(int service_detail_type,
byte[] service_detail)
{
this.service_detail_type = service_detail_type;
this.service_detail = service_detail;
}
public int service_detail_type;
public byte[] service_detail;
}
| 4,480 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/exception_typeHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/exception_type:1.0
//
final public class exception_typeHelper
{
public static void
insert(org.omg.CORBA.Any any, exception_type val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static exception_type
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[3];
members[0] = "NO_EXCEPTION";
members[1] = "USER_EXCEPTION";
members[2] = "SYSTEM_EXCEPTION";
typeCode_ = orb.create_enum_tc(id(), "exception_type", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/exception_type:1.0";
}
public static exception_type
read(org.omg.CORBA.portable.InputStream in)
{
exception_type _ob_v;
_ob_v = exception_type.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, exception_type val)
{
out.write_ulong(val.value());
}
}
| 4,481 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/OMGVMCID.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/OMGVMCID:1.0
//
/***/
public interface OMGVMCID
{
int value = (int)(1330446336L);
}
| 4,482 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_InterfaceDefStub.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDef:1.0
//
public class _InterfaceDefStub extends org.omg.CORBA.portable.ObjectImpl
implements InterfaceDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/InterfaceDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = InterfaceDefOperations.class;
//
// IDL:omg.org/CORBA/InterfaceDef/base_interfaces:1.0
//
public InterfaceDef[]
base_interfaces()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_base_interfaces", true);
in = _invoke(out);
InterfaceDef[] _ob_r = InterfaceDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.base_interfaces();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
base_interfaces(InterfaceDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_base_interfaces", true);
InterfaceDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.base_interfaces(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/is_a:1.0
//
public boolean
is_a(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("is_a", true);
RepositoryIdHelper.write(out, _ob_a0);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_a", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.is_a(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/describe_interface:1.0
//
public org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription
describe_interface()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_interface", true);
in = _invoke(out);
org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription _ob_r = org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_interface", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_interface();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_attribute:1.0
//
public AttributeDef
create_attribute(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
AttributeMode _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_attribute", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
AttributeModeHelper.write(out, _ob_a4);
in = _invoke(out);
AttributeDef _ob_r = AttributeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_attribute", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_attribute(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/InterfaceDef/create_operation:1.0
//
public OperationDef
create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
String[] _ob_a7)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
ContextIdSeqHelper.write(out, _ob_a7);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
InterfaceDefOperations _ob_self = (InterfaceDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,483 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CompletionStatusHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/completion_status:1.0
//
public abstract class CompletionStatusHelper
{
public static void
insert(org.omg.CORBA.Any any, CompletionStatus val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CompletionStatus
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[3];
members[0] = "COMPLETED_YES";
members[1] = "COMPLETED_NO";
members[2] = "COMPLETED_MAYBE";
typeCode_ = orb.create_enum_tc(id(), "completion_status", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/completion_status:1.0";
}
public static CompletionStatus
read(org.omg.CORBA.portable.InputStream in)
{
CompletionStatus _ob_v;
_ob_v = CompletionStatus.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, CompletionStatus val)
{
out.write_ulong(val.value());
}
}
| 4,484 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContextIdSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ContextIdSeq:1.0
//
final public class ContextIdSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, String[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ContextIdSeq", orb.create_sequence_tc(0, ContextIdentifierHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ContextIdSeq:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new String[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_string(val[i0]);
}
}
| 4,485 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/VM_CUSTOM.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/VM_CUSTOM:1.0
//
/***/
public interface VM_CUSTOM
{
short value = (short)(1L);
}
| 4,486 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DynamicImplementation.java | /*
* 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.omg.CORBA;
/**
* @deprecated Deprecated by the Portable Object Adapter.
*/
public class DynamicImplementation extends
org.omg.CORBA.portable.ObjectImpl {
/**
* @deprecated Deprecated by Portable Object Adapter
*/
public String[] _ids() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
/**
* @deprecated Deprecated by Portable Object Adapter
*/
public void invoke(ServerRequest request) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,487 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TRANSACTION_ROLLEDBACKHelper.java | /*
* 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.omg.CORBA;
final public class TRANSACTION_ROLLEDBACKHelper {
public static void insert(Any any, TRANSACTION_ROLLEDBACK val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TRANSACTION_ROLLEDBACK extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "TRANSACTION_ROLLEDBACK",
members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TRANSACTION_ROLLEDBACK:1.0";
}
public static TRANSACTION_ROLLEDBACK read(
org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
TRANSACTION_ROLLEDBACK val = new TRANSACTION_ROLLEDBACK();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
TRANSACTION_ROLLEDBACK val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,488 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/WCharSeqHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/WCharSeq:1.0
//
final public class WCharSeqHolder implements org.omg.CORBA.portable.Streamable
{
public char[] value;
public
WCharSeqHolder()
{
}
public
WCharSeqHolder(char[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = WCharSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
WCharSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return WCharSeqHelper.type();
}
}
| 4,489 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AttributeDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/AttributeDef:1.0
//
/***/
public interface AttributeDefOperations extends ContainedOperations
{
//
// IDL:omg.org/CORBA/AttributeDef/type:1.0
//
/***/
org.omg.CORBA.TypeCode
type();
//
// IDL:omg.org/CORBA/AttributeDef/type_def:1.0
//
/***/
IDLType
type_def();
void
type_def(IDLType val);
//
// IDL:omg.org/CORBA/AttributeDef/mode:1.0
//
/***/
AttributeMode
mode();
void
mode(AttributeMode val);
}
| 4,490 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueMemberHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueMember:1.0
//
public abstract class ValueMemberHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueMember val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ValueMember
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[7];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "defined_in";
members[2].type = RepositoryIdHelper.type();
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "version";
members[3].type = VersionSpecHelper.type();
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "type";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode);
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "type_def";
members[5].type = IDLTypeHelper.type();
members[6] = new org.omg.CORBA.StructMember();
members[6].name = "access";
members[6].type = VisibilityHelper.type();
typeCode_ = orb.create_struct_tc(id(), "ValueMember", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueMember:1.0";
}
public static ValueMember
read(org.omg.CORBA.portable.InputStream in)
{
ValueMember _ob_v = new ValueMember();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
_ob_v.defined_in = RepositoryIdHelper.read(in);
_ob_v.version = VersionSpecHelper.read(in);
_ob_v.type = in.read_TypeCode();
_ob_v.type_def = IDLTypeHelper.read(in);
_ob_v.access = VisibilityHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueMember val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
RepositoryIdHelper.write(out, val.defined_in);
VersionSpecHelper.write(out, val.version);
out.write_TypeCode(val.type);
IDLTypeHelper.write(out, val.type_def);
VisibilityHelper.write(out, val.access);
}
}
| 4,491 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueMemberSeqHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueMemberSeq:1.0
//
final public class ValueMemberSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueMember[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ValueMember[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ValueMemberSeq", orb.create_sequence_tc(0, ValueMemberHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueMemberSeq:1.0";
}
public static ValueMember[]
read(org.omg.CORBA.portable.InputStream in)
{
ValueMember[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new ValueMember[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ValueMemberHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueMember[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ValueMemberHelper.write(out, val[i0]);
}
}
| 4,492 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ConstantDescription.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstantDescription:1.0
//
/***/
final public class ConstantDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ConstantDescription:1.0";
public
ConstantDescription()
{
}
public
ConstantDescription(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode type,
org.omg.CORBA.Any value)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.type = type;
this.value = value;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode type;
public org.omg.CORBA.Any value;
}
| 4,493 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueMemberDefHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueMemberDef:1.0
//
final public class ValueMemberDefHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueMemberDef val)
{
any.insert_Object(val, type());
}
public static ValueMemberDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "ValueMemberDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueMemberDef:1.0";
}
public static ValueMemberDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (ValueMemberDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ValueMemberDefStub _ob_stub = new _ValueMemberDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueMemberDef val)
{
out.write_Object(val);
}
public static ValueMemberDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ValueMemberDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ValueMemberDefStub _ob_stub = new _ValueMemberDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static ValueMemberDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ValueMemberDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ValueMemberDefStub _ob_stub = new _ValueMemberDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,494 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StringValueHolder.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/StringValue:1.0
//
final public class StringValueHolder implements org.omg.CORBA.portable.Streamable
{
public String value;
public
StringValueHolder()
{
}
public
StringValueHolder(String initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = StringValueHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
StringValueHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return StringValueHelper.type();
}
}
| 4,495 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PrimitiveDefOperations.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/PrimitiveDef:1.0
//
/***/
public interface PrimitiveDefOperations extends IDLTypeOperations
{
//
// IDL:omg.org/CORBA/PrimitiveDef/kind:1.0
//
/***/
PrimitiveKind
kind();
}
| 4,496 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IDLTypeHelper.java | /*
* 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.omg.CORBA;
//
// IDL:omg.org/CORBA/IDLType:1.0
//
public abstract class IDLTypeHelper
{
public static void
insert(org.omg.CORBA.Any any, IDLType val)
{
any.insert_Object(val, type());
}
public static IDLType
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "IDLType");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/IDLType:1.0";
}
public static IDLType
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (IDLType)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_IDLTypeStub _ob_stub = new _IDLTypeStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, IDLType val)
{
out.write_Object(val);
}
public static IDLType
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (IDLType)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_IDLTypeStub _ob_stub = new _IDLTypeStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static IDLType
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (IDLType)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_IDLTypeStub _ob_stub = new _IDLTypeStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,497 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INV_FLAG.java | /*
* 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.omg.CORBA;
final public class INV_FLAG extends org.omg.CORBA.SystemException {
public INV_FLAG() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INV_FLAG(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INV_FLAG(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INV_FLAG(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,498 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueBaseHolder.java | /*
* 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.omg.CORBA;
public final class ValueBaseHolder implements org.omg.CORBA.portable.Streamable {
public java.io.Serializable value;
public ValueBaseHolder() {
}
public ValueBaseHolder(java.io.Serializable initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = ValueBaseHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
ValueBaseHelper.write(out, value);
}
public org.omg.CORBA.TypeCode _type() {
return ValueBaseHelper.type();
}
}
| 4,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.