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/INV_POLICYHelper.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_POLICYHelper { public static void insert(Any any, INV_POLICY val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static INV_POLICY 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(), "INV_POLICY", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/INV_POLICY:1.0"; } public static INV_POLICY read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); INV_POLICY val = new INV_POLICY(); 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, INV_POLICY val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,600
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/UnionMemberSeqHelper.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/UnionMemberSeq:1.0 // final public class UnionMemberSeqHelper { public static void insert(org.omg.CORBA.Any any, UnionMember[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static UnionMember[] 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(), "UnionMemberSeq", orb.create_sequence_tc(0, UnionMemberHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/UnionMemberSeq:1.0"; } public static UnionMember[] read(org.omg.CORBA.portable.InputStream in) { UnionMember[] _ob_v; int len0 = in.read_ulong(); _ob_v = new UnionMember[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = UnionMemberHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, UnionMember[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) UnionMemberHelper.write(out, val[i0]); } }
4,601
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/Repository.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/Repository:1.0 // /***/ public interface Repository extends RepositoryOperations, Container, org.omg.CORBA.portable.IDLEntity { }
4,602
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/EnumMemberSeqHelper.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/EnumMemberSeq:1.0 // final public class EnumMemberSeqHelper { 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(), "EnumMemberSeq", orb.create_sequence_tc(0, IdentifierHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/EnumMemberSeq: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,603
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/AttrDescriptionSeqHelper.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/AttrDescriptionSeq:1.0 // final public class AttrDescriptionSeqHelper { public static void insert(org.omg.CORBA.Any any, AttributeDescription[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static AttributeDescription[] 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(), "AttrDescriptionSeq", orb.create_sequence_tc(0, AttributeDescriptionHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/AttrDescriptionSeq:1.0"; } public static AttributeDescription[] read(org.omg.CORBA.portable.InputStream in) { AttributeDescription[] _ob_v; int len0 = in.read_ulong(); _ob_v = new AttributeDescription[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = AttributeDescriptionHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, AttributeDescription[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) AttributeDescriptionHelper.write(out, val[i0]); } }
4,604
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/NativeDescriptionSeqHolder.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/NativeDescriptionSeq:1.0 // final public class NativeDescriptionSeqHolder implements org.omg.CORBA.portable.Streamable { public NativeDescription[] value; public NativeDescriptionSeqHolder() { } public NativeDescriptionSeqHolder(NativeDescription[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = NativeDescriptionSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { NativeDescriptionSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return NativeDescriptionSeqHelper.type(); } }
4,605
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/TRANSIENT.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 TRANSIENT extends org.omg.CORBA.SystemException { public TRANSIENT() { super("", 0, CompletionStatus.COMPLETED_NO); } public TRANSIENT(int minor, CompletionStatus completed) { super("", minor, completed); } public TRANSIENT(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public TRANSIENT(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,606
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/InterfaceDef.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 InterfaceDef extends InterfaceDefOperations, Container, Contained, IDLType, org.omg.CORBA.portable.IDLEntity { }
4,607
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/SequenceDefHolder.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/SequenceDef:1.0 // final public class SequenceDefHolder implements org.omg.CORBA.portable.Streamable { public SequenceDef value; public SequenceDefHolder() { } public SequenceDefHolder(SequenceDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = SequenceDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { SequenceDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return SequenceDefHelper.type(); } }
4,608
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/DATA_CONVERSIONHelper.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 DATA_CONVERSIONHelper { public static void insert(Any any, DATA_CONVERSION val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static DATA_CONVERSION 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(), "DATA_CONVERSION", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/DATA_CONVERSION:1.0"; } public static DATA_CONVERSION read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); DATA_CONVERSION val = new DATA_CONVERSION(); 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, DATA_CONVERSION val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,609
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/InterfaceDescriptionHelper.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 InterfaceDescriptionHelper { public static void insert(org.omg.CORBA.Any any, InterfaceDescription val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static InterfaceDescription 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[5]; 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 = "base_interfaces"; members[4].type = RepositoryIdSeqHelper.type(); typeCode_ = orb.create_struct_tc(id(), "InterfaceDescription", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/InterfaceDescription:1.0"; } public static InterfaceDescription read(org.omg.CORBA.portable.InputStream in) { InterfaceDescription _ob_v = new InterfaceDescription(); _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.base_interfaces = RepositoryIdSeqHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, InterfaceDescription val) { IdentifierHelper.write(out, val.name); RepositoryIdHelper.write(out, val.id); RepositoryIdHelper.write(out, val.defined_in); VersionSpecHelper.write(out, val.version); RepositoryIdSeqHelper.write(out, val.base_interfaces); } }
4,610
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/PolicyManagerHolder.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/PolicyManager:1.0 // final public class PolicyManagerHolder implements org.omg.CORBA.portable.Streamable { public PolicyManager value; public PolicyManagerHolder() { } public PolicyManagerHolder(PolicyManager initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = PolicyManagerHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { PolicyManagerHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return PolicyManagerHelper.type(); } }
4,611
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/WstringDef.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/WstringDef:1.0 // /***/ public interface WstringDef extends WstringDefOperations, IDLType, org.omg.CORBA.portable.IDLEntity { }
4,612
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/InvalidPoliciesHelper.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/InvalidPolicies:1.0 // final public class InvalidPoliciesHelper { public static void insert(org.omg.CORBA.Any any, InvalidPolicies val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static InvalidPolicies 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[1]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "indices"; members[0].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort)); typeCode_ = orb.create_exception_tc(id(), "InvalidPolicies", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/InvalidPolicies:1.0"; } public static InvalidPolicies read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); InvalidPolicies _ob_v = new InvalidPolicies(); int len0 = in.read_ulong(); _ob_v.indices = new short[len0]; in.read_ushort_array(_ob_v.indices, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, InvalidPolicies val) { out.write_string(id()); int len0 = val.indices.length; out.write_ulong(len0); out.write_ushort_array(val.indices, 0, len0); } }
4,613
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_PERMISSIONHelper.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_PERMISSIONHelper { public static void insert(Any any, NO_PERMISSION val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static NO_PERMISSION 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(), "NO_PERMISSION", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/NO_PERMISSION:1.0"; } public static NO_PERMISSION read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); NO_PERMISSION val = new NO_PERMISSION(); 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, NO_PERMISSION val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,614
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/AnySeqHolder.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/AnySeq:1.0 // final public class AnySeqHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CORBA.Any[] value; public AnySeqHolder() { } public AnySeqHolder(org.omg.CORBA.Any[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AnySeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AnySeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AnySeqHelper.type(); } }
4,615
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_TRUNCATABLE.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_TRUNCATABLE:1.0 // /***/ public interface VM_TRUNCATABLE { short value = (short)(3L); }
4,616
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/PolicyError.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/PolicyError:1.0 // /***/ final public class PolicyError extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/CORBA/PolicyError:1.0"; public PolicyError() { super(_ob_id); } public PolicyError(short reason) { super(_ob_id); this.reason = reason; } public PolicyError(String _reason, short reason) { super(_ob_id + " " + _reason); this.reason = reason; } public short reason; }
4,617
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_MODE.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_MODE extends org.omg.CORBA.SystemException { public TRANSACTION_MODE() { super("", 0, CompletionStatus.COMPLETED_NO); } public TRANSACTION_MODE(int minor, CompletionStatus completed) { super("", minor, completed); } public TRANSACTION_MODE(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public TRANSACTION_MODE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,618
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/StringDefOperations.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 // /***/ public interface StringDefOperations extends IDLTypeOperations { // // IDL:omg.org/CORBA/StringDef/bound:1.0 // /***/ int bound(); void bound(int val); }
4,619
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/DomainManagersListHolder.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/DomainManagersList:1.0 // final public class DomainManagersListHolder implements org.omg.CORBA.portable.Streamable { public DomainManager[] value; public DomainManagersListHolder() { } public DomainManagersListHolder(DomainManager[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = DomainManagersListHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { DomainManagersListHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return DomainManagersListHelper.type(); } }
4,620
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/ConstantDefHelper.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 // final public class ConstantDefHelper { public static void insert(org.omg.CORBA.Any any, ConstantDef val) { any.insert_Object(val, type()); } public static ConstantDef 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(), "ConstantDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ConstantDef:1.0"; } public static ConstantDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (ConstantDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _ConstantDefStub _ob_stub = new _ConstantDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, ConstantDef val) { out.write_Object(val); } public static ConstantDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ConstantDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _ConstantDefStub _ob_stub = new _ConstantDefStub(); _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 ConstantDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ConstantDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ConstantDefStub _ob_stub = new _ConstantDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,621
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/VisibilityHelper.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/Visibility:1.0 // public abstract class VisibilityHelper { 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(), "Visibility", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short)); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/Visibility:1.0"; } public static short read(org.omg.CORBA.portable.InputStream in) { short _ob_v; _ob_v = in.read_short(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, short val) { out.write_short(val); } }
4,622
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/DomainManagersListHelper.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/DomainManagersList:1.0 // final public class DomainManagersListHelper { public static void insert(org.omg.CORBA.Any any, DomainManager[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static DomainManager[] 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(), "DomainManagersList", orb.create_sequence_tc(0, DomainManagerHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/DomainManagersList:1.0"; } public static DomainManager[] read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, DomainManager[] val) { throw new org.omg.CORBA.MARSHAL(); } }
4,623
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/DomainManager.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/DomainManager:1.0 // /***/ public interface DomainManager extends DomainManagerOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object { }
4,624
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/ConstantDefHolder.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 // final public class ConstantDefHolder implements org.omg.CORBA.portable.Streamable { public ConstantDef value; public ConstantDefHolder() { } public ConstantDefHolder(ConstantDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ConstantDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ConstantDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ConstantDefHelper.type(); } }
4,625
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/ContainedOperations.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 interface ContainedOperations extends IRObjectOperations { // // IDL:omg.org/CORBA/Contained/id:1.0 // /***/ String id(); void id(String val); // // IDL:omg.org/CORBA/Contained/name:1.0 // /***/ String name(); void name(String val); // // IDL:omg.org/CORBA/Contained/version:1.0 // /***/ String version(); void version(String val); // // IDL:omg.org/CORBA/Contained/defined_in:1.0 // /***/ Container defined_in(); // // IDL:omg.org/CORBA/Contained/absolute_name:1.0 // /***/ String absolute_name(); // // IDL:omg.org/CORBA/Contained/containing_repository:1.0 // /***/ Repository containing_repository(); // // IDL:omg.org/CORBA/Contained/describe:1.0 // /***/ org.omg.CORBA.ContainedPackage.Description describe(); // // IDL:omg.org/CORBA/Contained/move:1.0 // /***/ void move(Container new_container, String new_name, String new_version); }
4,626
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/AnySeqHelper.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/AnySeq:1.0 // public abstract class AnySeqHelper { public static void insert(org.omg.CORBA.Any any, org.omg.CORBA.Any[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static org.omg.CORBA.Any[] 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(), "AnySeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any))); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/AnySeq:1.0"; } public static org.omg.CORBA.Any[] read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Any[] _ob_v; int len0 = in.read_ulong(); _ob_v = new org.omg.CORBA.Any[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = in.read_any(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.CORBA.Any[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) out.write_any(val[i0]); } }
4,627
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/ValueDefOperations.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/ValueDef:1.0 // /***/ public interface ValueDefOperations extends ContainerOperations, ContainedOperations, IDLTypeOperations { // // IDL:omg.org/CORBA/ValueDef/supported_interfaces:1.0 // /***/ InterfaceDef[] supported_interfaces(); void supported_interfaces(InterfaceDef[] val); // // IDL:omg.org/CORBA/ValueDef/initializers:1.0 // /***/ Initializer[] initializers(); void initializers(Initializer[] val); // // IDL:omg.org/CORBA/ValueDef/base_value:1.0 // /***/ ValueDef base_value(); void base_value(ValueDef val); // // IDL:omg.org/CORBA/ValueDef/abstract_base_values:1.0 // /***/ ValueDef[] abstract_base_values(); void abstract_base_values(ValueDef[] val); // // IDL:omg.org/CORBA/ValueDef/is_abstract:1.0 // /***/ boolean is_abstract(); void is_abstract(boolean val); // // IDL:omg.org/CORBA/ValueDef/is_custom:1.0 // /***/ boolean is_custom(); void is_custom(boolean val); // // IDL:omg.org/CORBA/ValueDef/is_truncatable:1.0 // /***/ boolean is_truncatable(); void is_truncatable(boolean val); // // IDL:omg.org/CORBA/ValueDef/is_a:1.0 // /***/ boolean is_a(String value_id); // // IDL:omg.org/CORBA/ValueDef/describe_value:1.0 // /***/ org.omg.CORBA.ValueDefPackage.FullValueDescription describe_value(); // // IDL:omg.org/CORBA/ValueDef/create_value_member:1.0 // /***/ ValueMemberDef create_value_member(String id, String name, String version, IDLType type, short access); // // IDL:omg.org/CORBA/ValueDef/create_attribute:1.0 // /***/ AttributeDef create_attribute(String id, String name, String version, IDLType type, AttributeMode mode); // // IDL:omg.org/CORBA/ValueDef/create_operation:1.0 // /***/ OperationDef create_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts); // // IDL:omg.org/CORBA/ValueDef/_OB_create_operation:1.0 // /***/ OperationDef _OB_create_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, NativeDef[] native_exceptions, String[] contexts); }
4,628
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/AliasDefOperations.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/AliasDef:1.0 // /***/ public interface AliasDefOperations extends TypedefDefOperations { // // IDL:omg.org/CORBA/AliasDef/original_type_def:1.0 // /***/ IDLType original_type_def(); void original_type_def(IDLType val); }
4,629
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/Principal.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; // Note: Don't use @deprecated here /** * Deprecated by CORBA 2.2. */ public class Principal { // Note: Don't use @deprecated here /** * Deprecated by CORBA 2.2. */ public byte[] name() { throw new org.omg.CORBA.NO_IMPLEMENT(); } // Note: Don't use @deprecated here /** * Deprecated by CORBA 2.2. */ public void name(byte[] name) { throw new org.omg.CORBA.NO_IMPLEMENT(); } }
4,630
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/PollableSetOperations.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/PollableSet:1.0 // /***/ public interface PollableSetOperations { // // IDL:omg.org/CORBA/PollableSet/create_dii_pollable:1.0 // /***/ DIIPollable create_dii_pollable(); // // IDL:omg.org/CORBA/PollableSet/add_pollable:1.0 // /***/ void add_pollable(Pollable potential); // // IDL:omg.org/CORBA/PollableSet/get_ready_pollable:1.0 // /***/ Pollable get_ready_pollable(int timeout) throws org.omg.CORBA.PollableSetPackage.NoPossiblePollable; // // IDL:omg.org/CORBA/PollableSet/remove:1.0 // /***/ void remove(Pollable potential) throws org.omg.CORBA.PollableSetPackage.UnknownPollable; // // IDL:omg.org/CORBA/PollableSet/number_left:1.0 // /***/ short number_left(); }
4,631
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/LocalInterfaceDefOperations.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 interface LocalInterfaceDefOperations extends InterfaceDefOperations { // // IDL:omg.org/CORBA/LocalInterfaceDef/_OB_create_operation:1.0 // /***/ OperationDef _OB_create_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, NativeDef[] native_exceptions, String[] contexts); }
4,632
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/DATA_CONVERSIONHolder.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 DATA_CONVERSIONHolder implements org.omg.CORBA.portable.Streamable { public DATA_CONVERSION value; public DATA_CONVERSIONHolder() { } public DATA_CONVERSIONHolder(DATA_CONVERSION initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = DATA_CONVERSIONHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { DATA_CONVERSIONHelper.write(out, value); } public TypeCode _type() { return DATA_CONVERSIONHelper.type(); } }
4,633
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/SequenceDefHelper.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/SequenceDef:1.0 // final public class SequenceDefHelper { public static void insert(org.omg.CORBA.Any any, SequenceDef val) { any.insert_Object(val, type()); } public static SequenceDef 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(), "SequenceDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/SequenceDef:1.0"; } public static SequenceDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (SequenceDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _SequenceDefStub _ob_stub = new _SequenceDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, SequenceDef val) { out.write_Object(val); } public static SequenceDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (SequenceDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _SequenceDefStub _ob_stub = new _SequenceDefStub(); _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 SequenceDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (SequenceDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _SequenceDefStub _ob_stub = new _SequenceDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,634
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/PolicyManagerHelper.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/PolicyManager:1.0 // final public class PolicyManagerHelper { public static void insert(org.omg.CORBA.Any any, PolicyManager val) { any.insert_Object(val, type()); } public static PolicyManager 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(), "PolicyManager"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/PolicyManager:1.0"; } public static PolicyManager read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, PolicyManager val) { throw new org.omg.CORBA.MARSHAL(); } public static PolicyManager narrow(org.omg.CORBA.Object val) { try { return (PolicyManager)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
4,635
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/InterfaceDescriptionHolder.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 InterfaceDescriptionHolder implements org.omg.CORBA.portable.Streamable { public InterfaceDescription value; public InterfaceDescriptionHolder() { } public InterfaceDescriptionHolder(InterfaceDescription initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = InterfaceDescriptionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { InterfaceDescriptionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return InterfaceDescriptionHelper.type(); } }
4,636
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/InvalidPoliciesHolder.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/InvalidPolicies:1.0 // final public class InvalidPoliciesHolder implements org.omg.CORBA.portable.Streamable { public InvalidPolicies value; public InvalidPoliciesHolder() { } public InvalidPoliciesHolder(InvalidPolicies initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = InvalidPoliciesHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { InvalidPoliciesHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return InvalidPoliciesHelper.type(); } }
4,637
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_PERMISSIONHolder.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_PERMISSIONHolder implements org.omg.CORBA.portable.Streamable { public NO_PERMISSION value; public NO_PERMISSIONHolder() { } public NO_PERMISSIONHolder(NO_PERMISSION initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = NO_PERMISSIONHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { NO_PERMISSIONHelper.write(out, value); } public TypeCode _type() { return NO_PERMISSIONHelper.type(); } }
4,638
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/UnionMemberSeqHolder.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/UnionMemberSeq:1.0 // final public class UnionMemberSeqHolder implements org.omg.CORBA.portable.Streamable { public UnionMember[] value; public UnionMemberSeqHolder() { } public UnionMemberSeqHolder(UnionMember[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = UnionMemberSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { UnionMemberSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return UnionMemberSeqHelper.type(); } }
4,639
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_IDENTHolder.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_IDENTHolder implements org.omg.CORBA.portable.Streamable { public INV_IDENT value; public INV_IDENTHolder() { } public INV_IDENTHolder(INV_IDENT initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = INV_IDENTHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { INV_IDENTHelper.write(out, value); } public TypeCode _type() { return INV_IDENTHelper.type(); } }
4,640
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_POLICYHolder.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_POLICYHolder implements org.omg.CORBA.portable.Streamable { public INV_POLICY value; public INV_POLICYHolder() { } public INV_POLICYHolder(INV_POLICY initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = INV_POLICYHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { INV_POLICYHelper.write(out, value); } public TypeCode _type() { return INV_POLICYHelper.type(); } }
4,641
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/_AttributeDefStub.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 class _AttributeDefStub extends org.omg.CORBA.portable.ObjectImpl implements AttributeDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/AttributeDef:1.0", "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 = AttributeDefOperations.class; // // IDL:omg.org/CORBA/AttributeDef/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; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { return _ob_self.type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/AttributeDef/type_def:1.0 // public IDLType type_def() { 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_def", true); in = _invoke(out); IDLType _ob_r = IDLTypeHelper.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("type_def", _ob_opsClass); if(_ob_so == null) continue; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { return _ob_self.type_def(); } finally { _servant_postinvoke(_ob_so); } } } } public void type_def(IDLType _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_type_def", true); IDLTypeHelper.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("type_def", _ob_opsClass); if(_ob_so == null) continue; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { _ob_self.type_def(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/AttributeDef/mode:1.0 // public AttributeMode mode() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_mode", true); in = _invoke(out); AttributeMode _ob_r = AttributeModeHelper.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("mode", _ob_opsClass); if(_ob_so == null) continue; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { return _ob_self.mode(); } finally { _servant_postinvoke(_ob_so); } } } } public void mode(AttributeMode _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_mode", true); AttributeModeHelper.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("mode", _ob_opsClass); if(_ob_so == null) continue; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { _ob_self.mode(_ob_a); return; } 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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_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; AttributeDefOperations _ob_self = (AttributeDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,642
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/EnumMemberSeqHolder.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/EnumMemberSeq:1.0 // final public class EnumMemberSeqHolder implements org.omg.CORBA.portable.Streamable { public String[] value; public EnumMemberSeqHolder() { } public EnumMemberSeqHolder(String[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = EnumMemberSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { EnumMemberSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return EnumMemberSeqHelper.type(); } }
4,643
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/NativeDescriptionSeqHelper.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/NativeDescriptionSeq:1.0 // final public class NativeDescriptionSeqHelper { 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(); typeCode_ = orb.create_alias_tc(id(), "NativeDescriptionSeq", orb.create_sequence_tc(0, NativeDescriptionHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/NativeDescriptionSeq:1.0"; } public static NativeDescription[] read(org.omg.CORBA.portable.InputStream in) { NativeDescription[] _ob_v; int len0 = in.read_ulong(); _ob_v = new NativeDescription[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = NativeDescriptionHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, NativeDescription[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) NativeDescriptionHelper.write(out, val[i0]); } }
4,644
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/AttrDescriptionSeqHolder.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/AttrDescriptionSeq:1.0 // final public class AttrDescriptionSeqHolder implements org.omg.CORBA.portable.Streamable { public AttributeDescription[] value; public AttrDescriptionSeqHolder() { } public AttrDescriptionSeqHolder(AttributeDescription[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AttrDescriptionSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AttrDescriptionSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AttrDescriptionSeqHelper.type(); } }
4,645
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/ExcDescriptionSeqHolder.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/ExcDescriptionSeq:1.0 // final public class ExcDescriptionSeqHolder implements org.omg.CORBA.portable.Streamable { public ExceptionDescription[] value; public ExcDescriptionSeqHolder() { } public ExcDescriptionSeqHolder(ExceptionDescription[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ExcDescriptionSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ExcDescriptionSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ExcDescriptionSeqHelper.type(); } }
4,646
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/CODESET_INCOMPATIBLEHolder.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 CODESET_INCOMPATIBLEHolder implements org.omg.CORBA.portable.Streamable { public CODESET_INCOMPATIBLE value; public CODESET_INCOMPATIBLEHolder() { } public CODESET_INCOMPATIBLEHolder(CODESET_INCOMPATIBLE initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = CODESET_INCOMPATIBLEHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { CODESET_INCOMPATIBLEHelper.write(out, value); } public TypeCode _type() { return CODESET_INCOMPATIBLEHelper.type(); } }
4,647
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/ExceptionDefSeqHelper.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/ExceptionDefSeq:1.0 // final public class ExceptionDefSeqHelper { public static void insert(org.omg.CORBA.Any any, ExceptionDef[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ExceptionDef[] 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(), "ExceptionDefSeq", orb.create_sequence_tc(0, ExceptionDefHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ExceptionDefSeq:1.0"; } public static ExceptionDef[] read(org.omg.CORBA.portable.InputStream in) { ExceptionDef[] _ob_v; int len0 = in.read_ulong(); _ob_v = new ExceptionDef[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = ExceptionDefHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ExceptionDef[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) ExceptionDefHelper.write(out, val[i0]); } }
4,648
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/RepositoryIdSeqHolder.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/RepositoryIdSeq:1.0 // final public class RepositoryIdSeqHolder implements org.omg.CORBA.portable.Streamable { public String[] value; public RepositoryIdSeqHolder() { } public RepositoryIdSeqHolder(String[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = RepositoryIdSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { RepositoryIdSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return RepositoryIdSeqHelper.type(); } }
4,649
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/FREE_MEMHelper.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 FREE_MEMHelper { public static void insert(Any any, FREE_MEM val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static FREE_MEM 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(), "FREE_MEM", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/FREE_MEM:1.0"; } public static FREE_MEM read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); FREE_MEM val = new FREE_MEM(); 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, FREE_MEM val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,650
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/TIMEOUTHolder.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 TIMEOUTHolder implements org.omg.CORBA.portable.Streamable { public TIMEOUT value; public TIMEOUTHolder() { } public TIMEOUTHolder(TIMEOUT initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = TIMEOUTHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { TIMEOUTHelper.write(out, value); } public TypeCode _type() { return TIMEOUTHelper.type(); } }
4,651
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/MARSHALHolder.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 MARSHALHolder implements org.omg.CORBA.portable.Streamable { public MARSHAL value; public MARSHALHolder() { } public MARSHALHolder(MARSHAL initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = MARSHALHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { MARSHALHelper.write(out, value); } public TypeCode _type() { return MARSHALHelper.type(); } }
4,652
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/MARSHAL.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 MARSHAL extends org.omg.CORBA.SystemException { public MARSHAL() { super("", 0, CompletionStatus.COMPLETED_NO); } public MARSHAL(int minor, CompletionStatus completed) { super("", minor, completed); } public MARSHAL(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public MARSHAL(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,653
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/UnknownUserException.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 UnknownUserException extends UserException { public Any except; public UnknownUserException() { } public UnknownUserException(Any any) { except = any; } }
4,654
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/NativeDefHolder.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/NativeDef:1.0 // final public class NativeDefHolder implements org.omg.CORBA.portable.Streamable { public NativeDef value; public NativeDefHolder() { } public NativeDefHolder(NativeDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = NativeDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { NativeDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return NativeDefHelper.type(); } }
4,655
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_OBJREFHelper.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_OBJREFHelper { public static void insert(Any any, INV_OBJREF val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static INV_OBJREF 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(), "INV_OBJREF", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/INV_OBJREF:1.0"; } public static INV_OBJREF read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); INV_OBJREF val = new INV_OBJREF(); 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, INV_OBJREF val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,656
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/NativeDescription.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 NativeDescription implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/CORBA/NativeDescription:1.0"; public NativeDescription() { } public NativeDescription(String name, String id) { this.name = name; this.id = id; } public String name; public String id; }
4,657
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_FLAGHolder.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_FLAGHolder implements org.omg.CORBA.portable.Streamable { public INV_FLAG value; public INV_FLAGHolder() { } public INV_FLAGHolder(INV_FLAG initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = INV_FLAGHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { INV_FLAGHelper.write(out, value); } public TypeCode _type() { return INV_FLAGHelper.type(); } }
4,658
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/RepositoryIdHelper.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/RepositoryId:1.0 // public abstract class RepositoryIdHelper { 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(), "RepositoryId", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string)); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/RepositoryId: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,659
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/OBJECT_NOT_EXISTHelper.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 OBJECT_NOT_EXISTHelper { public static void insert(Any any, OBJECT_NOT_EXIST val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static OBJECT_NOT_EXIST 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(), "OBJECT_NOT_EXIST", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OBJECT_NOT_EXIST:1.0"; } public static OBJECT_NOT_EXIST read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); OBJECT_NOT_EXIST val = new OBJECT_NOT_EXIST(); 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, OBJECT_NOT_EXIST val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,660
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/OperationDefHelper.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/OperationDef:1.0 // final public class OperationDefHelper { public static void insert(org.omg.CORBA.Any any, OperationDef val) { any.insert_Object(val, type()); } public static OperationDef 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(), "OperationDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OperationDef:1.0"; } public static OperationDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (OperationDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _OperationDefStub _ob_stub = new _OperationDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, OperationDef val) { out.write_Object(val); } public static OperationDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (OperationDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _OperationDefStub _ob_stub = new _OperationDefStub(); _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 OperationDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (OperationDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _OperationDefStub _ob_stub = new _OperationDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,661
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/AttributeModeHolder.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/AttributeMode:1.0 // final public class AttributeModeHolder implements org.omg.CORBA.portable.Streamable { public AttributeMode value; public AttributeModeHolder() { } public AttributeModeHolder(AttributeMode initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AttributeModeHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AttributeModeHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AttributeModeHelper.type(); } }
4,662
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/StructDefHelper.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/StructDef:1.0 // final public class StructDefHelper { public static void insert(org.omg.CORBA.Any any, StructDef val) { any.insert_Object(val, type()); } public static StructDef 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(), "StructDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/StructDef:1.0"; } public static StructDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (StructDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _StructDefStub _ob_stub = new _StructDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, StructDef val) { out.write_Object(val); } public static StructDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (StructDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _StructDefStub _ob_stub = new _StructDefStub(); _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 StructDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (StructDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _StructDefStub _ob_stub = new _StructDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,663
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/OpDescriptionSeqHolder.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/OpDescriptionSeq:1.0 // final public class OpDescriptionSeqHolder implements org.omg.CORBA.portable.Streamable { public OperationDescription[] value; public OpDescriptionSeqHolder() { } public OpDescriptionSeqHolder(OperationDescription[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OpDescriptionSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OpDescriptionSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return OpDescriptionSeqHelper.type(); } }
4,664
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/ValueBoxDefOperations.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 // /***/ public interface ValueBoxDefOperations extends TypedefDefOperations { // // IDL:omg.org/CORBA/ValueBoxDef/original_type_def:1.0 // /***/ IDLType original_type_def(); void original_type_def(IDLType val); }
4,665
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_ADAPTERHolder.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_ADAPTERHolder implements org.omg.CORBA.portable.Streamable { public OBJ_ADAPTER value; public OBJ_ADAPTERHolder() { } public OBJ_ADAPTERHolder(OBJ_ADAPTER initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OBJ_ADAPTERHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OBJ_ADAPTERHelper.write(out, value); } public TypeCode _type() { return OBJ_ADAPTERHelper.type(); } }
4,666
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_RESOURCES.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_RESOURCES extends org.omg.CORBA.SystemException { public NO_RESOURCES() { super("", 0, CompletionStatus.COMPLETED_NO); } public NO_RESOURCES(int minor, CompletionStatus completed) { super("", minor, completed); } public NO_RESOURCES(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public NO_RESOURCES(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,667
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/FixedHolder.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 FixedHolder implements org.omg.CORBA.portable.Streamable { public java.math.BigDecimal value; public FixedHolder() { } public FixedHolder(java.math.BigDecimal initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream input) { value = input.read_fixed(); } public void _write(org.omg.CORBA.portable.OutputStream output) { output.write_fixed(value); } public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_fixed); } }
4,668
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/LocalInterfaceDefHolder.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 // final public class LocalInterfaceDefHolder implements org.omg.CORBA.portable.Streamable { public LocalInterfaceDef value; public LocalInterfaceDefHolder() { } public LocalInterfaceDefHolder(LocalInterfaceDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LocalInterfaceDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LocalInterfaceDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LocalInterfaceDefHelper.type(); } }
4,669
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/ExceptionDescriptionHolder.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 ExceptionDescriptionHolder implements org.omg.CORBA.portable.Streamable { public ExceptionDescription value; public ExceptionDescriptionHolder() { } public ExceptionDescriptionHolder(ExceptionDescription initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ExceptionDescriptionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ExceptionDescriptionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ExceptionDescriptionHelper.type(); } }
4,670
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/ValueDef.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/ValueDef:1.0 // /***/ public interface ValueDef extends ValueDefOperations, Container, Contained, IDLType, org.omg.CORBA.portable.IDLEntity { }
4,671
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/INITIALIZEHelper.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 INITIALIZEHelper { public static void insert(Any any, INITIALIZE val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static INITIALIZE 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(), "INITIALIZE", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/INITIALIZE:1.0"; } public static INITIALIZE read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); INITIALIZE val = new INITIALIZE(); 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, INITIALIZE val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,672
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/OctetSeqHelper.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/OctetSeq:1.0 // public abstract class OctetSeqHelper { public static void insert(org.omg.CORBA.Any any, byte[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static byte[] 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(), "OctetSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet))); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OctetSeq:1.0"; } public static byte[] read(org.omg.CORBA.portable.InputStream in) { byte[] _ob_v; int len0 = in.read_ulong(); _ob_v = new byte[len0]; in.read_octet_array(_ob_v, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, byte[] val) { int len0 = val.length; out.write_ulong(len0); out.write_octet_array(val, 0, len0); } }
4,673
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/ValueDescription.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/ValueDescription:1.0 // /***/ final public class ValueDescription implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/CORBA/ValueDescription:1.0"; public ValueDescription() { } public ValueDescription(String name, String id, boolean is_abstract, boolean is_custom, String defined_in, String version, String[] supported_interfaces, String[] abstract_base_values, boolean is_truncatable, String base_value) { this.name = name; this.id = id; this.is_abstract = is_abstract; this.is_custom = is_custom; this.defined_in = defined_in; this.version = version; this.supported_interfaces = supported_interfaces; this.abstract_base_values = abstract_base_values; this.is_truncatable = is_truncatable; this.base_value = base_value; } public String name; public String id; public boolean is_abstract; public boolean is_custom; public String defined_in; public String version; public String[] supported_interfaces; public String[] abstract_base_values; public boolean is_truncatable; public String base_value; }
4,674
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/REBIND.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 REBIND extends org.omg.CORBA.SystemException { public REBIND() { super("", 0, CompletionStatus.COMPLETED_NO); } public REBIND(int minor, CompletionStatus completed) { super("", minor, completed); } public REBIND(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public REBIND(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,675
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/CurrentHelper.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 abstract class CurrentHelper { public static void insert(org.omg.CORBA.Any any, Current val) { any.insert_Object(val, type()); } public static Current 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(), "Current"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/Current:1.0"; } public static Current read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, Current val) { throw new org.omg.CORBA.MARSHAL(); } public static Current narrow(org.omg.CORBA.Object val) { try { return (Current)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
4,676
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/OctetSeqHolder.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/OctetSeq:1.0 // final public class OctetSeqHolder implements org.omg.CORBA.portable.Streamable { public byte[] value; public OctetSeqHolder() { } public OctetSeqHolder(byte[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OctetSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OctetSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return OctetSeqHelper.type(); } }
4,677
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/INITIALIZEHolder.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 INITIALIZEHolder implements org.omg.CORBA.portable.Streamable { public INITIALIZE value; public INITIALIZEHolder() { } public INITIALIZEHolder(INITIALIZE initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = INITIALIZEHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { INITIALIZEHelper.write(out, value); } public TypeCode _type() { return INITIALIZEHelper.type(); } }
4,678
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/ValueModifierHelper.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/ValueModifier:1.0 // final public class ValueModifierHelper { 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(), "ValueModifier", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short)); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ValueModifier:1.0"; } public static short read(org.omg.CORBA.portable.InputStream in) { short _ob_v; _ob_v = in.read_short(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, short val) { out.write_short(val); } }
4,679
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/StringHolder.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 StringHolder implements org.omg.CORBA.portable.Streamable { public String value; public StringHolder() { } public StringHolder(String initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream input) { value = input.read_string(); } public void _write(org.omg.CORBA.portable.OutputStream output) { output.write_string(value); } public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_string); } }
4,680
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/CurrentHolder.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 // final public class CurrentHolder implements org.omg.CORBA.portable.Streamable { public Current value; public CurrentHolder() { } public CurrentHolder(Current initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = CurrentHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { CurrentHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return CurrentHelper.type(); } }
4,681
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/OBJECT_NOT_EXISTHolder.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 OBJECT_NOT_EXISTHolder implements org.omg.CORBA.portable.Streamable { public OBJECT_NOT_EXIST value; public OBJECT_NOT_EXISTHolder() { } public OBJECT_NOT_EXISTHolder(OBJECT_NOT_EXIST initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OBJECT_NOT_EXISTHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OBJECT_NOT_EXISTHelper.write(out, value); } public TypeCode _type() { return OBJECT_NOT_EXISTHelper.type(); } }
4,682
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/OperationDefHolder.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/OperationDef:1.0 // final public class OperationDefHolder implements org.omg.CORBA.portable.Streamable { public OperationDef value; public OperationDefHolder() { } public OperationDefHolder(OperationDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OperationDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OperationDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return OperationDefHelper.type(); } }
4,683
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/AttributeModeHelper.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/AttributeMode:1.0 // final public class AttributeModeHelper { public static void insert(org.omg.CORBA.Any any, AttributeMode val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static AttributeMode 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[2]; members[0] = "ATTR_NORMAL"; members[1] = "ATTR_READONLY"; typeCode_ = orb.create_enum_tc(id(), "AttributeMode", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/AttributeMode:1.0"; } public static AttributeMode read(org.omg.CORBA.portable.InputStream in) { AttributeMode _ob_v; _ob_v = AttributeMode.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, AttributeMode val) { out.write_ulong(val.value()); } }
4,684
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/StructDefHolder.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/StructDef:1.0 // final public class StructDefHolder implements org.omg.CORBA.portable.Streamable { public StructDef value; public StructDefHolder() { } public StructDefHolder(StructDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = StructDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { StructDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return StructDefHelper.type(); } }
4,685
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/OpDescriptionSeqHelper.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/OpDescriptionSeq:1.0 // final public class OpDescriptionSeqHelper { public static void insert(org.omg.CORBA.Any any, OperationDescription[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static OperationDescription[] 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(), "OpDescriptionSeq", orb.create_sequence_tc(0, OperationDescriptionHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OpDescriptionSeq:1.0"; } public static OperationDescription[] read(org.omg.CORBA.portable.InputStream in) { OperationDescription[] _ob_v; int len0 = in.read_ulong(); _ob_v = new OperationDescription[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = OperationDescriptionHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, OperationDescription[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) OperationDescriptionHelper.write(out, val[i0]); } }
4,686
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_ADAPTERHelper.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_ADAPTERHelper { public static void insert(Any any, OBJ_ADAPTER val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static OBJ_ADAPTER 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(), "OBJ_ADAPTER", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OBJ_ADAPTER:1.0"; } public static OBJ_ADAPTER read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); OBJ_ADAPTER val = new OBJ_ADAPTER(); 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, OBJ_ADAPTER val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,687
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/Pollable.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/Pollable:1.0 // /***/ public interface Pollable extends org.omg.CORBA.portable.ValueBase { // // IDL:omg.org/CORBA/Pollable/is_ready:1.0 // /***/ boolean is_ready(int timeout); // // IDL:omg.org/CORBA/Pollable/create_pollable_set:1.0 // /***/ PollableSet create_pollable_set(); }
4,688
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/_ValueMemberDefStub.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 // public class _ValueMemberDefStub extends org.omg.CORBA.portable.ObjectImpl implements ValueMemberDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/ValueMemberDef:1.0", "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 = ValueMemberDefOperations.class; // // IDL:omg.org/CORBA/ValueMemberDef/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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { return _ob_self.type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/ValueMemberDef/type_def:1.0 // public IDLType type_def() { 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_def", true); in = _invoke(out); IDLType _ob_r = IDLTypeHelper.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("type_def", _ob_opsClass); if(_ob_so == null) continue; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { return _ob_self.type_def(); } finally { _servant_postinvoke(_ob_so); } } } } public void type_def(IDLType _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_type_def", true); IDLTypeHelper.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("type_def", _ob_opsClass); if(_ob_so == null) continue; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { _ob_self.type_def(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/ValueMemberDef/access:1.0 // public short access() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_access", true); in = _invoke(out); short _ob_r = VisibilityHelper.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("access", _ob_opsClass); if(_ob_so == null) continue; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { return _ob_self.access(); } finally { _servant_postinvoke(_ob_so); } } } } public void access(short _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_access", true); VisibilityHelper.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("access", _ob_opsClass); if(_ob_so == null) continue; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { _ob_self.access(_ob_a); return; } 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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_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; ValueMemberDefOperations _ob_self = (ValueMemberDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,689
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/_ContainerStub.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 // public class _ContainerStub extends org.omg.CORBA.portable.ObjectImpl implements Container { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/Container:1.0", "IDL:omg.org/CORBA/IRObject:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = ContainerOperations.class; // // 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; ContainerOperations _ob_self = (ContainerOperations)_ob_so.servant; try { return _ob_self.def_kind(); } 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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_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; ContainerOperations _ob_self = (ContainerOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,690
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/PollableSet.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/PollableSet:1.0 // /***/ public interface PollableSet extends PollableSetOperations, org.omg.CORBA.Object { }
4,691
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/LocalInterfaceDefHelper.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 // final public class LocalInterfaceDefHelper { public static void insert(org.omg.CORBA.Any any, LocalInterfaceDef val) { any.insert_Object(val, type()); } public static LocalInterfaceDef 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(), "LocalInterfaceDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/LocalInterfaceDef:1.0"; } public static LocalInterfaceDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (LocalInterfaceDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _LocalInterfaceDefStub _ob_stub = new _LocalInterfaceDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, LocalInterfaceDef val) { out.write_Object(val); } public static LocalInterfaceDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (LocalInterfaceDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _LocalInterfaceDefStub _ob_stub = new _LocalInterfaceDefStub(); _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 LocalInterfaceDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (LocalInterfaceDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _LocalInterfaceDefStub _ob_stub = new _LocalInterfaceDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,692
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/ExceptionDescriptionHelper.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 ExceptionDescriptionHelper { public static void insert(org.omg.CORBA.Any any, ExceptionDescription val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ExceptionDescription 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[5]; 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); typeCode_ = orb.create_struct_tc(id(), "ExceptionDescription", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ExceptionDescription:1.0"; } public static ExceptionDescription read(org.omg.CORBA.portable.InputStream in) { ExceptionDescription _ob_v = new ExceptionDescription(); _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(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ExceptionDescription 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); } }
4,693
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/NativeDefHelper.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/NativeDef:1.0 // final public class NativeDefHelper { public static void insert(org.omg.CORBA.Any any, NativeDef val) { any.insert_Object(val, type()); } public static NativeDef 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(), "NativeDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/NativeDef:1.0"; } public static NativeDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (NativeDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _NativeDefStub _ob_stub = new _NativeDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, NativeDef val) { out.write_Object(val); } public static NativeDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (NativeDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _NativeDefStub _ob_stub = new _NativeDefStub(); _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 NativeDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (NativeDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _NativeDefStub _ob_stub = new _NativeDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,694
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_OBJREFHolder.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_OBJREFHolder implements org.omg.CORBA.portable.Streamable { public INV_OBJREF value; public INV_OBJREFHolder() { } public INV_OBJREFHolder(INV_OBJREF initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = INV_OBJREFHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { INV_OBJREFHelper.write(out, value); } public TypeCode _type() { return INV_OBJREFHelper.type(); } }
4,695
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/PrincipalHolder.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; // Note: Don't use @deprecated here /** * Deprecated by CORBA 2.2. */ final public class PrincipalHolder implements org.omg.CORBA.portable.Streamable { public Principal value; public PrincipalHolder() { } public PrincipalHolder(Principal initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream input) { value = input.read_Principal(); } public void _write(org.omg.CORBA.portable.OutputStream output) { output.write_Principal(value); } public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_Principal); } }
4,696
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/ExceptionDef.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 ExceptionDef extends ExceptionDefOperations, Contained, Container, org.omg.CORBA.portable.IDLEntity { }
4,697
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/PUBLIC_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/PUBLIC_MEMBER:1.0 // /***/ public interface PUBLIC_MEMBER { short value = (short)(1L); }
4,698
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_FLAGHelper.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_FLAGHelper { public static void insert(Any any, INV_FLAG val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static INV_FLAG 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(), "INV_FLAG", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/INV_FLAG:1.0"; } public static INV_FLAG read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); INV_FLAG val = new INV_FLAG(); 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, INV_FLAG val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,699