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/ValueDefHelper.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 // final public class ValueDefHelper { public static void insert(org.omg.CORBA.Any any, ValueDef val) { any.insert_Object(val, type()); } public static ValueDef 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(), "ValueDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ValueDef:1.0"; } public static ValueDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (ValueDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _ValueDefStub _ob_stub = new _ValueDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, ValueDef val) { out.write_Object(val); } public static ValueDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ValueDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _ValueDefStub _ob_stub = new _ValueDefStub(); _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 ValueDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ValueDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ValueDefStub _ob_stub = new _ValueDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,500
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/PollableSetHelper.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 // final public class PollableSetHelper { public static void insert(org.omg.CORBA.Any any, PollableSet val) { any.insert_Object(val, type()); } public static PollableSet 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(), "PollableSet"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/PollableSet:1.0"; } public static PollableSet read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, PollableSet val) { throw new org.omg.CORBA.MARSHAL(); } public static PollableSet narrow(org.omg.CORBA.Object val) { try { return (PollableSet)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
4,501
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/DomainManagerHelper.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 // final public class DomainManagerHelper { public static void insert(org.omg.CORBA.Any any, DomainManager val) { any.insert_Object(val, type()); } public static DomainManager 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(), "DomainManager"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/DomainManager: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(); } public static DomainManager narrow(org.omg.CORBA.Object val) { try { return (DomainManager)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
4,502
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/ConstantDef.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ConstantDef:1.0 // /***/ public interface ConstantDef extends ConstantDefOperations, Contained, org.omg.CORBA.portable.IDLEntity { }
4,503
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/IDLTypeHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/IDLType:1.0 // final public class IDLTypeHolder implements org.omg.CORBA.portable.Streamable { public IDLType value; public IDLTypeHolder() { } public IDLTypeHolder(IDLType initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = IDLTypeHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { IDLTypeHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return IDLTypeHelper.type(); } }
4,504
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/ValueBaseHelper.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; abstract public class ValueBaseHelper { public static void insert(org.omg.CORBA.Any a, java.io.Serializable v) { a.insert_Value(v, type()); } public static java.io.Serializable extract(org.omg.CORBA.Any a) { return a.extract_Value(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if (typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0]; typeCode_ = orb.create_value_tc(id(), "ValueBase", org.omg.CORBA.VM_ABSTRACT.value, null, members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ValueBase:1.0"; } public static java.io.Serializable read( org.omg.CORBA.portable.InputStream in) { org.omg.CORBA_2_3.portable.InputStream in_2_3 = (org.omg.CORBA_2_3.portable.InputStream) in; return in_2_3.read_value(id()); } public static void write(org.omg.CORBA.portable.OutputStream out, java.io.Serializable value) { org.omg.CORBA_2_3.portable.OutputStream out_2_3 = (org.omg.CORBA_2_3.portable.OutputStream) out; out_2_3.write_value(value, id()); } }
4,505
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/PollableSetHolder.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 // final public class PollableSetHolder implements org.omg.CORBA.portable.Streamable { public PollableSet value; public PollableSetHolder() { } public PollableSetHolder(PollableSet initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = PollableSetHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { PollableSetHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return PollableSetHelper.type(); } }
4,506
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/ValueDefHolder.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 // final public class ValueDefHolder implements org.omg.CORBA.portable.Streamable { public ValueDef value; public ValueDefHolder() { } public ValueDefHolder(ValueDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ValueDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ValueDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ValueDefHelper.type(); } }
4,507
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/DIIPollable.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/DIIPollable:1.0 // /***/ public interface DIIPollable extends org.omg.CORBA.portable.ValueBase, Pollable { }
4,508
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/_UnionDefStub.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/UnionDef:1.0 // public class _UnionDefStub extends org.omg.CORBA.portable.ObjectImpl implements UnionDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/UnionDef:1.0", "IDL:omg.org/CORBA/TypedefDef:1.0", "IDL:omg.org/CORBA/Contained:1.0", "IDL:omg.org/CORBA/IRObject:1.0", "IDL:omg.org/CORBA/IDLType:1.0", "IDL:omg.org/CORBA/Container:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = UnionDefOperations.class; // // IDL:omg.org/CORBA/UnionDef/discriminator_type:1.0 // public org.omg.CORBA.TypeCode discriminator_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_discriminator_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("discriminator_type", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.discriminator_type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/UnionDef/discriminator_type_def:1.0 // public IDLType discriminator_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_discriminator_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("discriminator_type_def", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.discriminator_type_def(); } finally { _servant_postinvoke(_ob_so); } } } } public void discriminator_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_discriminator_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("discriminator_type_def", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { _ob_self.discriminator_type_def(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/UnionDef/members:1.0 // public UnionMember[] members() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_members", true); in = _invoke(out); UnionMember[] _ob_r = UnionMemberSeqHelper.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("members", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.members(); } finally { _servant_postinvoke(_ob_so); } } } } public void members(UnionMember[] _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_members", true); UnionMemberSeqHelper.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("members", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { _ob_self.members(_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.def_kind(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/IDLType/type:1.0 // public org.omg.CORBA.TypeCode type() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/UnionDef/_OB_isForwardDcl:1.0 // public boolean _OB_isForwardDcl() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_OB_isForwardDcl", true); in = _invoke(out); boolean _ob_r = in.read_boolean(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); in = _ob_aex.getInputStream(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("_OB_isForwardDcl", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self._OB_isForwardDcl(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/UnionDef/_OB_setForwardDcl:1.0 // public void _OB_setForwardDcl(boolean _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("_OB_setForwardDcl", true); out.write_boolean(_ob_a0); 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("_OB_setForwardDcl", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { _ob_self._OB_setForwardDcl(_ob_a0); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Contained/describe:1.0 // public org.omg.CORBA.ContainedPackage.Description describe() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("describe", true); in = _invoke(out); org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); in = _ob_aex.getInputStream(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass); if(_ob_so == null) continue; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } 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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_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; UnionDefOperations _ob_self = (UnionDefOperations)_ob_so.servant; try { return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2); } finally { _servant_postinvoke(_ob_so); } } } } }
4,509
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/DomainManagerHolder.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 // final public class DomainManagerHolder implements org.omg.CORBA.portable.Streamable { public DomainManager value; public DomainManagerHolder() { } public DomainManagerHolder(DomainManager initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = DomainManagerHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { DomainManagerHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return DomainManagerHelper.type(); } }
4,510
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/AnyHolder.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 AnyHolder implements org.omg.CORBA.portable.Streamable { public Any value; public AnyHolder() { } public AnyHolder(Any initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream input) { value = input.read_any(); } public void _write(org.omg.CORBA.portable.OutputStream output) { output.write_any(value); } public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_any); } }
4,511
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/PolicyManagerOperations.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 // /***/ public interface PolicyManagerOperations { // // IDL:omg.org/CORBA/PolicyManager/get_policy_overrides:1.0 // /***/ Policy[] get_policy_overrides(int[] ts); // // IDL:omg.org/CORBA/PolicyManager/set_policy_overrides:1.0 // /***/ void set_policy_overrides(Policy[] policies, SetOverrideType set_add) throws InvalidPolicies; }
4,512
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_NONE.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_NONE:1.0 // /***/ public interface VM_NONE { short value = (short)(0L); }
4,513
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_ROLLEDBACKHolder.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_ROLLEDBACKHolder implements org.omg.CORBA.portable.Streamable { public TRANSACTION_ROLLEDBACK value; public TRANSACTION_ROLLEDBACKHolder() { } public TRANSACTION_ROLLEDBACKHolder(TRANSACTION_ROLLEDBACK initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = TRANSACTION_ROLLEDBACKHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { TRANSACTION_ROLLEDBACKHelper.write(out, value); } public TypeCode _type() { return TRANSACTION_ROLLEDBACKHelper.type(); } }
4,514
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/WCharSeqHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/WCharSeq:1.0 // public abstract class WCharSeqHelper { public static void insert(org.omg.CORBA.Any any, char[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static char[] extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "WCharSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_wchar))); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/WCharSeq:1.0"; } public static char[] read(org.omg.CORBA.portable.InputStream in) { char[] _ob_v; int len0 = in.read_ulong(); _ob_v = new char[len0]; in.read_wchar_array(_ob_v, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, char[] val) { int len0 = val.length; out.write_ulong(len0); out.write_wchar_array(val, 0, len0); } }
4,515
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.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; public interface Object { boolean _is_a(String identifier); boolean _is_equivalent(org.omg.CORBA.Object that); boolean _non_existent(); int _hash(int maximum); org.omg.CORBA.Object _duplicate(); void _release(); /** * @deprecated Deprecated by CORBA 2.3. */ InterfaceDef _get_interface(); org.omg.CORBA.Object _get_interface_def(); Request _request(String s); Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result); Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist); org.omg.CORBA.Policy _get_policy(int policy_type); org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add); org.omg.CORBA.DomainManager[] _get_domain_managers(); }
4,516
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/ValueMemberSeqHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ValueMemberSeq:1.0 // final public class ValueMemberSeqHolder implements org.omg.CORBA.portable.Streamable { public ValueMember[] value; public ValueMemberSeqHolder() { } public ValueMemberSeqHolder(ValueMember[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ValueMemberSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ValueMemberSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ValueMemberSeqHelper.type(); } }
4,517
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/ValueMemberHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ValueMember:1.0 // final public class ValueMemberHolder implements org.omg.CORBA.portable.Streamable { public ValueMember value; public ValueMemberHolder() { } public ValueMemberHolder(ValueMember initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ValueMemberHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ValueMemberHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ValueMemberHelper.type(); } }
4,518
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/ValueMemberDefHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ValueMemberDef:1.0 // final public class ValueMemberDefHolder implements org.omg.CORBA.portable.Streamable { public ValueMemberDef value; public ValueMemberDefHolder() { } public ValueMemberDefHolder(ValueMemberDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ValueMemberDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ValueMemberDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ValueMemberDefHelper.type(); } }
4,519
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/StringValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/StringValue:1.0 // public class StringValueHelper implements org.omg.CORBA.portable.BoxedValueHelper { private static final StringValueHelper _instance = new StringValueHelper(); public static void insert(org.omg.CORBA.Any any, String val) { any.insert_Value((java.io.Serializable)val, type()); } public static String extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof String) return (String)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_value_box_tc(id(), "StringValue", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string)); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/StringValue:1.0"; } public static String read(org.omg.CORBA.portable.InputStream in) { if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream)) throw new org.omg.CORBA.BAD_PARAM(); return (String)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(_instance); } public static void write(org.omg.CORBA.portable.OutputStream out, String val) { if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream)) throw new org.omg.CORBA.BAD_PARAM(); ((org.omg.CORBA_2_3.portable.OutputStream)out).write_value((java.io.Serializable)val, _instance); } public java.io.Serializable read_value(org.omg.CORBA.portable.InputStream in) { String _ob_v; _ob_v = in.read_string(); return (java.io.Serializable)_ob_v; } public void write_value(org.omg.CORBA.portable.OutputStream out, java.io.Serializable val) { if(!(val instanceof String)) throw new org.omg.CORBA.MARSHAL(); String _ob_value = (String)val; out.write_string(_ob_value); } public String get_id() { return id(); } }
4,520
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_TYPECODE.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; final public class BAD_TYPECODE extends org.omg.CORBA.SystemException { public BAD_TYPECODE() { super("", 0, CompletionStatus.COMPLETED_NO); } public BAD_TYPECODE(int minor, CompletionStatus completed) { super("", minor, completed); } public BAD_TYPECODE(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public BAD_TYPECODE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,521
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/ArrayDef.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ArrayDef:1.0 // /***/ public interface ArrayDef extends ArrayDefOperations, IDLType, org.omg.CORBA.portable.IDLEntity { }
4,522
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/TIMEOUT.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 TIMEOUT extends org.omg.CORBA.SystemException { public TIMEOUT() { super("", 0, CompletionStatus.COMPLETED_NO); } public TIMEOUT(int minor, CompletionStatus completed) { super("", minor, completed); } public TIMEOUT(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public TIMEOUT(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,523
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/ContextIdSeqHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ContextIdSeq:1.0 // final public class ContextIdSeqHolder implements org.omg.CORBA.portable.Streamable { public String[] value; public ContextIdSeqHolder() { } public ContextIdSeqHolder(String[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ContextIdSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ContextIdSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ContextIdSeqHelper.type(); } }
4,524
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/CustomMarshal.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; public interface CustomMarshal { void marshal(org.omg.CORBA.DataOutputStream os); void unmarshal(org.omg.CORBA.DataInputStream is); }
4,525
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/CompletionStatusHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/completion_status:1.0 // final public class CompletionStatusHolder implements org.omg.CORBA.portable.Streamable { public CompletionStatus value; public CompletionStatusHolder() { } public CompletionStatusHolder(CompletionStatus initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = CompletionStatusHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { CompletionStatusHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return CompletionStatusHelper.type(); } }
4,526
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/OperationMode.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/OperationMode:1.0 // /***/ public class OperationMode implements org.omg.CORBA.portable.IDLEntity { private static OperationMode [] values_ = new OperationMode[2]; private int value_; public final static int _OP_NORMAL = 0; public final static OperationMode OP_NORMAL = new OperationMode(_OP_NORMAL); public final static int _OP_ONEWAY = 1; public final static OperationMode OP_ONEWAY = new OperationMode(_OP_ONEWAY); protected OperationMode(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static OperationMode from_int(int value) { if(value < values_.length) return values_[value]; else throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO); } private java.lang.Object readResolve() throws java.io.ObjectStreamException { return from_int(value()); } }
4,527
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/LongLongSeqHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/LongLongSeq:1.0 // final public class LongLongSeqHolder implements org.omg.CORBA.portable.Streamable { public long[] value; public LongLongSeqHolder() { } public LongLongSeqHolder(long[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LongLongSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LongLongSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LongLongSeqHelper.type(); } }
4,528
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/Container.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 interface Container extends ContainerOperations, IRObject, org.omg.CORBA.portable.IDLEntity { }
4,529
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/InitializerHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/Initializer:1.0 // final public class InitializerHolder implements org.omg.CORBA.portable.Streamable { public Initializer value; public InitializerHolder() { } public InitializerHolder(Initializer initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = InitializerHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { InitializerHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return InitializerHelper.type(); } }
4,530
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/ContainedSeqHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ContainedSeq:1.0 // final public class ContainedSeqHolder implements org.omg.CORBA.portable.Streamable { public Contained[] value; public ContainedSeqHolder() { } public ContainedSeqHolder(Contained[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ContainedSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ContainedSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ContainedSeqHelper.type(); } }
4,531
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/ULongLongSeqHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ULongLongSeq:1.0 // final public class ULongLongSeqHolder implements org.omg.CORBA.portable.Streamable { public long[] value; public ULongLongSeqHolder() { } public ULongLongSeqHolder(long[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ULongLongSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ULongLongSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ULongLongSeqHelper.type(); } }
4,532
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/SystemException.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; import org.omg.CORBA.OMGVMCID; import org.apache.yoko.ApacheVMCID; abstract public class SystemException extends java.lang.RuntimeException { public int minor; public CompletionStatus completed; protected SystemException(String reason, int minor, CompletionStatus status) { super(reason); this.minor = minor; this.completed = status; } public String toString() { // the first part of the message code is the issuing authority, so split it off. int vmcid = minor & 0xFFFFF000; String vmcidName = null; // is this an OMG defined major code? if (vmcid == OMGVMCID.value) { vmcidName = "OMG"; } // this is a Yoko one, but the VMCID is registered as Apache. else if (vmcid == ApacheVMCID.value) { vmcidName = "Apache"; } else { // Just display the numeric value. vmcidName = "0x" + Integer.toHexString(vmcid); } String s = super.toString() + ": vmcid: " + vmcidName + " minor code: 0x" + Integer.toHexString(minor & 0x00000FFF); switch (completed.value()) { case CompletionStatus._COMPLETED_YES: s += " completed: Yes"; break; case CompletionStatus._COMPLETED_NO: s += " completed: No"; break; case CompletionStatus._COMPLETED_MAYBE: default: s += " completed: Maybe"; break; } return s; } }
4,533
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/exception_typeHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/exception_type:1.0 // final public class exception_typeHolder implements org.omg.CORBA.portable.Streamable { public exception_type value; public exception_typeHolder() { } public exception_typeHolder(exception_type initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = exception_typeHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { exception_typeHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return exception_typeHelper.type(); } }
4,534
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/Contained.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 Contained extends ContainedOperations, IRObject, org.omg.CORBA.portable.IDLEntity { }
4,535
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/UnionMemberHolder.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/UnionMember:1.0 // final public class UnionMemberHolder implements org.omg.CORBA.portable.Streamable { public UnionMember value; public UnionMemberHolder() { } public UnionMemberHolder(UnionMember initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = UnionMemberHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { UnionMemberHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return UnionMemberHelper.type(); } }
4,536
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/UNSUPPORTED_POLICY_VALUE.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/UNSUPPORTED_POLICY_VALUE:1.0 // /***/ public interface UNSUPPORTED_POLICY_VALUE { short value = (short)(4L); }
4,537
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/UnionDefOperations.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/UnionDef:1.0 // /***/ public interface UnionDefOperations extends TypedefDefOperations, ContainerOperations { // // IDL:omg.org/CORBA/UnionDef/discriminator_type:1.0 // /***/ org.omg.CORBA.TypeCode discriminator_type(); // // IDL:omg.org/CORBA/UnionDef/discriminator_type_def:1.0 // /***/ IDLType discriminator_type_def(); void discriminator_type_def(IDLType val); // // IDL:omg.org/CORBA/UnionDef/members:1.0 // /***/ UnionMember[] members(); void members(UnionMember[] val); // // IDL:omg.org/CORBA/UnionDef/_OB_isForwardDcl:1.0 // /***/ boolean _OB_isForwardDcl(); // // IDL:omg.org/CORBA/UnionDef/_OB_setForwardDcl:1.0 // /***/ void _OB_setForwardDcl(boolean fwd_dcl); }
4,538
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_UNAVAILABLEHelper.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_UNAVAILABLEHelper { public static void insert(Any any, TRANSACTION_UNAVAILABLE val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static TRANSACTION_UNAVAILABLE extract(Any any) { if (any.type().equivalent(type())) return read(any.create_input_stream()); else throw new BAD_OPERATION(); } private static TypeCode typeCode_; public static TypeCode type() { if (typeCode_ == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[2]; members[0] = new StructMember(); members[0].name = "minor"; members[0].type = orb.get_primitive_tc(TCKind.tk_ulong); members[1] = new StructMember(); members[1].name = "completed"; members[1].type = CompletionStatusHelper.type(); typeCode_ = orb.create_exception_tc(id(), "TRANSACTION_UNAVAILABLE", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/TRANSACTION_UNAVAILABLE:1.0"; } public static TRANSACTION_UNAVAILABLE read( org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); TRANSACTION_UNAVAILABLE val = new TRANSACTION_UNAVAILABLE(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; } public static void write(org.omg.CORBA.portable.OutputStream out, TRANSACTION_UNAVAILABLE val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,539
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/COMM_FAILUREHelper.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 COMM_FAILUREHelper { public static void insert(Any any, COMM_FAILURE val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static COMM_FAILURE 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(), "COMM_FAILURE", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/COMM_FAILURE:1.0"; } public static COMM_FAILURE read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); COMM_FAILURE val = new COMM_FAILURE(); 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, COMM_FAILURE val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,540
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/IDLType.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/IDLType:1.0 // /***/ public interface IDLType extends IDLTypeOperations, IRObject, org.omg.CORBA.portable.IDLEntity { }
4,541
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/AbstractInterfaceDefHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/AbstractInterfaceDef:1.0 // final public class AbstractInterfaceDefHolder implements org.omg.CORBA.portable.Streamable { public AbstractInterfaceDef value; public AbstractInterfaceDefHolder() { } public AbstractInterfaceDefHolder(AbstractInterfaceDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AbstractInterfaceDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AbstractInterfaceDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AbstractInterfaceDefHelper.type(); } }
4,542
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/ParameterDescriptionHelper.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/ParameterDescription:1.0 // final public class ParameterDescriptionHelper { public static void insert(org.omg.CORBA.Any any, ParameterDescription val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ParameterDescription extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[4]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "name"; members[0].type = IdentifierHelper.type(); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "type"; members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode); members[2] = new org.omg.CORBA.StructMember(); members[2].name = "type_def"; members[2].type = IDLTypeHelper.type(); members[3] = new org.omg.CORBA.StructMember(); members[3].name = "mode"; members[3].type = ParameterModeHelper.type(); typeCode_ = orb.create_struct_tc(id(), "ParameterDescription", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ParameterDescription:1.0"; } public static ParameterDescription read(org.omg.CORBA.portable.InputStream in) { ParameterDescription _ob_v = new ParameterDescription(); _ob_v.name = IdentifierHelper.read(in); _ob_v.type = in.read_TypeCode(); _ob_v.type_def = IDLTypeHelper.read(in); _ob_v.mode = ParameterModeHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ParameterDescription val) { IdentifierHelper.write(out, val.name); out.write_TypeCode(val.type); IDLTypeHelper.write(out, val.type_def); ParameterModeHelper.write(out, val.mode); } }
4,543
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/ORB.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; import org.apache.yoko.osgi.ProviderLocator; import java.security.PrivilegedAction; import java.security.AccessController; import java.util.Properties; public abstract class ORB { public abstract String[] list_initial_services(); public abstract org.omg.CORBA.Object resolve_initial_references( String object_name) throws org.omg.CORBA.ORBPackage.InvalidName; public abstract String object_to_string(org.omg.CORBA.Object object); public abstract org.omg.CORBA.Object string_to_object(String str); public abstract NVList create_list(int count); /** * @deprecated Deprecated by CORBA 2.3. */ public abstract NVList create_operation_list(OperationDef oper); // Empty method for binary compatibility with the 1.5 public NVList create_operation_list(org.omg.CORBA.Object oper) {return null;}; public abstract NamedValue create_named_value(String name, Any value, int flags); public abstract ExceptionList create_exception_list(); public abstract ContextList create_context_list(); public abstract Context get_default_context(); public abstract Environment create_environment(); public abstract void send_multiple_requests_oneway(Request[] req); public abstract void send_multiple_requests_deferred(Request[] req); public abstract boolean poll_next_response(); public abstract Request get_next_response() throws org.omg.CORBA.WrongTransaction; public boolean get_service_information(short service_type, ServiceInformationHolder service_info) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public abstract TypeCode create_struct_tc(String id, String name, StructMember[] members); public abstract TypeCode create_union_tc(String id, String name, TypeCode discriminatorType, UnionMember[] members); public abstract TypeCode create_enum_tc(String id, String name, String[] members); public abstract TypeCode create_alias_tc(String id, String name, TypeCode originalType); public abstract TypeCode create_exception_tc(String id, String name, StructMember[] members); public abstract TypeCode create_interface_tc(String id, String name); public abstract TypeCode create_string_tc(int bound); public abstract TypeCode create_wstring_tc(int bound); public TypeCode create_fixed_tc(short digits, short scale) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public abstract TypeCode create_sequence_tc(int bound, TypeCode elementType); /** * @deprecated Deprecated by CORBA 2.3. */ public abstract TypeCode create_recursive_sequence_tc(int bound, int offset); public abstract TypeCode create_array_tc(int length, TypeCode elementType); public TypeCode create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public TypeCode create_value_box_tc(String id, String name, TypeCode boxed_type) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public TypeCode create_native_tc(String id, String name) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public TypeCode create_recursive_tc(String id) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public TypeCode create_abstract_interface_tc(String id, String name) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public abstract TypeCode get_primitive_tc(TCKind kind); public boolean work_pending() { throw new org.omg.CORBA.NO_IMPLEMENT(); } public void perform_work() { throw new org.omg.CORBA.NO_IMPLEMENT(); } public void run() { throw new org.omg.CORBA.NO_IMPLEMENT(); } public void shutdown(boolean wait_for_completion) { throw new org.omg.CORBA.NO_IMPLEMENT(); } public void destroy() { throw new org.omg.CORBA.NO_IMPLEMENT(); } public abstract Any create_any(); public abstract org.omg.CORBA.portable.OutputStream create_output_stream(); // Empty method for binary compatibility with the 1.5 public void connect(org.omg.CORBA.Object obj) {}; // Empty method for binary compatibility with the 1.5 public void disconnect(org.omg.CORBA.Object obj) {}; public org.omg.CORBA.Policy create_policy(int policy_type, org.omg.CORBA.Any val) throws org.omg.CORBA.PolicyError { throw new org.omg.CORBA.NO_IMPLEMENT(); } /** * @deprecated Deprecated by CORBA 2.2. */ public Current get_current() { throw new org.omg.CORBA.NO_IMPLEMENT(); } private static ORB ORBSingleton_; private static final String ORBClassPropertyKey = "org.omg.CORBA.ORBClass"; private static final String ORBSingletonPropertyKey = "org.omg.CORBA.ORBSingletonClass"; public static ORB init(String[] args, java.util.Properties props) { ORB orb = newOrb(props); ORBSingleton_ = orb; orb.set_parameters(args, props); return orb; } public static ORB init(java.applet.Applet app, java.util.Properties props) { ORB orb = newOrb(props); ORBSingleton_ = orb; orb.set_parameters(app, props); return ORBSingleton_; } private static ORB newOrb(Properties props) { String orbClassName = null; if (props != null) { orbClassName = props.getProperty(ORBClassPropertyKey); } ORB orb = null; if (orbClassName == null) { try { orb = (ORB) ProviderLocator.getService(ORBClassPropertyKey, ORB.class, Thread.currentThread().getContextClassLoader()); } catch (Exception ex) { throw (INITIALIZE)new INITIALIZE("Invalid ORB class from osgi: ").initCause(ex); } } if (orb == null) { try { if (orbClassName == null) orbClassName = getSystemProperty(ORBClassPropertyKey); } catch (SecurityException ex) { // ignore } if (orbClassName == null) orbClassName = "org.apache.yoko.orb.CORBA.ORB"; try { // get the appropriate class for the loading. ClassLoader loader = Thread.currentThread().getContextClassLoader(); orb = (ORB) ProviderLocator.loadClass(orbClassName, ORB.class, loader).newInstance(); } catch (Throwable ex) { throw (INITIALIZE)new INITIALIZE("Invalid ORB class: " + orbClassName).initCause(ex); } } return orb; } public static ORB init() { if (ORBSingleton_ == null) { try { ORBSingleton_ = (ORB) ProviderLocator.getService(ORBSingletonPropertyKey, ORB.class, Thread.currentThread().getContextClassLoader()); } catch (Exception ex) { throw (org.omg.CORBA.INITIALIZE)new org.omg.CORBA.INITIALIZE( "Invalid ORB singleton class from osgi: ").initCause(ex); } if (ORBSingleton_ == null) { String orbClassName = getSystemProperty(ORBSingletonPropertyKey); if (orbClassName == null) { orbClassName = "org.apache.yoko.orb.CORBA.ORBSingleton"; } try { ORBSingleton_ = (ORB) ProviderLocator.loadClass(orbClassName, ORB.class, Thread.currentThread().getContextClassLoader()).newInstance(); } catch (ClassNotFoundException ex) { throw (org.omg.CORBA.INITIALIZE)new org.omg.CORBA.INITIALIZE( "Invalid ORB singleton class from osgi: ").initCause(ex); } catch (InstantiationException ex) { throw (org.omg.CORBA.INITIALIZE)new org.omg.CORBA.INITIALIZE( "Invalid ORB singleton class from osgi: ").initCause(ex); } catch (IllegalAccessException ex) { throw (org.omg.CORBA.INITIALIZE)new org.omg.CORBA.INITIALIZE( "Invalid ORB singleton class from osgi: ").initCause(ex); } } } return ORBSingleton_; } protected abstract void set_parameters(String[] args, java.util.Properties props); protected abstract void set_parameters(java.applet.Applet app, java.util.Properties props); /** * Simple utility for retrieving a system property * using the AccessController. * * @param name The property name * * @return The property value. */ private static String getSystemProperty(final String name) { return (String) AccessController.doPrivileged( new PrivilegedAction() { public java.lang.Object run() { return System.getProperty(name); } } ); } }
4,544
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/InitializerSeqHelper.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/InitializerSeq:1.0 // final public class InitializerSeqHelper { public static void insert(org.omg.CORBA.Any any, Initializer[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static Initializer[] extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "InitializerSeq", orb.create_sequence_tc(0, InitializerHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/InitializerSeq:1.0"; } public static Initializer[] read(org.omg.CORBA.portable.InputStream in) { Initializer[] _ob_v; int len0 = in.read_ulong(); _ob_v = new Initializer[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = InitializerHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, Initializer[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) InitializerHelper.write(out, val[i0]); } }
4,545
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/WstringDefOperations.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 WstringDefOperations extends IDLTypeOperations { // // IDL:omg.org/CORBA/WstringDef/bound:1.0 // /***/ int bound(); void bound(int val); }
4,546
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/DomainManagerOperations.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 DomainManagerOperations { // // IDL:omg.org/CORBA/DomainManager/get_domain_policy:1.0 // /***/ Policy get_domain_policy(int policy_type); }
4,547
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/TypeDescriptionHolder.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/TypeDescription:1.0 // final public class TypeDescriptionHolder implements org.omg.CORBA.portable.Streamable { public TypeDescription value; public TypeDescriptionHolder() { } public TypeDescriptionHolder(TypeDescription initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = TypeDescriptionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { TypeDescriptionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return TypeDescriptionHelper.type(); } }
4,548
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/UnionDefHolder.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/UnionDef:1.0 // final public class UnionDefHolder implements org.omg.CORBA.portable.Streamable { public UnionDef value; public UnionDefHolder() { } public UnionDefHolder(UnionDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = UnionDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { UnionDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return UnionDefHelper.type(); } }
4,549
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/CurrentOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/Current:1.0 // /***/ public interface CurrentOperations { }
4,550
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/_PrimitiveDefStub.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/PrimitiveDef:1.0 // public class _PrimitiveDefStub extends org.omg.CORBA.portable.ObjectImpl implements PrimitiveDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/PrimitiveDef:1.0", "IDL:omg.org/CORBA/IDLType:1.0", "IDL:omg.org/CORBA/IRObject:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = PrimitiveDefOperations.class; // // IDL:omg.org/CORBA/PrimitiveDef/kind:1.0 // public PrimitiveKind 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_kind", true); in = _invoke(out); PrimitiveKind _ob_r = PrimitiveKindHelper.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("kind", _ob_opsClass); if(_ob_so == null) continue; PrimitiveDefOperations _ob_self = (PrimitiveDefOperations)_ob_so.servant; try { return _ob_self.kind(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/IDLType/type:1.0 // public org.omg.CORBA.TypeCode type() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; PrimitiveDefOperations _ob_self = (PrimitiveDefOperations)_ob_so.servant; try { return _ob_self.type(); } 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; PrimitiveDefOperations _ob_self = (PrimitiveDefOperations)_ob_so.servant; try { return _ob_self.def_kind(); } 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; PrimitiveDefOperations _ob_self = (PrimitiveDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,551
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/ObjectHelper.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; abstract public class ObjectHelper { public static void insert(org.omg.CORBA.Any any, org.omg.CORBA.Object obj) { any.insert_Object(obj); } public static org.omg.CORBA.Object extract(Any any) { return any.extract_Object(); } public static org.omg.CORBA.TypeCode type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_objref); } public static String id() { return "IDL:omg.org/CORBA/Object:1.0"; } public static org.omg.CORBA.Object read( org.omg.CORBA.portable.InputStream in) { return in.read_Object(); } public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.CORBA.Object val) { out.write_Object(val); } }
4,552
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/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; // // IDL:omg.org/CORBA/Policy:1.0 // final public class PolicyHolder implements org.omg.CORBA.portable.Streamable { public Policy value; public PolicyHolder() { } public PolicyHolder(Policy initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = PolicyHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { PolicyHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return PolicyHelper.type(); } }
4,553
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_POLICY.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_POLICY extends org.omg.CORBA.SystemException { public INV_POLICY() { super("", 0, CompletionStatus.COMPLETED_NO); } public INV_POLICY(int minor, CompletionStatus completed) { super("", minor, completed); } public INV_POLICY(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public INV_POLICY(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,554
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/OperationDescriptionHolder.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/OperationDescription:1.0 // final public class OperationDescriptionHolder implements org.omg.CORBA.portable.Streamable { public OperationDescription value; public OperationDescriptionHolder() { } public OperationDescriptionHolder(OperationDescription initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = OperationDescriptionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { OperationDescriptionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return OperationDescriptionHelper.type(); } }
4,555
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_INV_ORDERHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; final public class BAD_INV_ORDERHelper { public static void insert(Any any, BAD_INV_ORDER val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static BAD_INV_ORDER extract(Any any) { if (any.type().equivalent(type())) return read(any.create_input_stream()); else throw new BAD_OPERATION(); } private static TypeCode typeCode_; public static TypeCode type() { if (typeCode_ == null) { ORB orb = ORB.init(); StructMember[] members = new StructMember[2]; members[0] = new StructMember(); members[0].name = "minor"; members[0].type = orb.get_primitive_tc(TCKind.tk_ulong); members[1] = new StructMember(); members[1].name = "completed"; members[1].type = CompletionStatusHelper.type(); typeCode_ = orb.create_exception_tc(id(), "BAD_INV_ORDER", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/BAD_INV_ORDER:1.0"; } public static BAD_INV_ORDER read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); BAD_INV_ORDER val = new BAD_INV_ORDER(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; } public static void write(org.omg.CORBA.portable.OutputStream out, BAD_INV_ORDER val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,556
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/ServiceTypeHelper.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/ServiceType:1.0 // final public class ServiceTypeHelper { 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(), "ServiceType", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort)); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ServiceType:1.0"; } public static short read(org.omg.CORBA.portable.InputStream in) { short _ob_v; _ob_v = in.read_ushort(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, short val) { out.write_ushort(val); } }
4,557
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/StructDef.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 // /***/ public interface StructDef extends StructDefOperations, TypedefDef, Container, org.omg.CORBA.portable.IDLEntity { }
4,558
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/BoundsHelper.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/Bounds:1.0 // final public class BoundsHelper { public static void insert(org.omg.CORBA.Any any, Bounds val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static Bounds 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[0]; typeCode_ = orb.create_exception_tc(id(), "Bounds", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/Bounds:1.0"; } public static Bounds read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); Bounds _ob_v = new Bounds(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, Bounds val) { out.write_string(id()); } }
4,559
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/Bounds.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/Bounds:1.0 // /***/ final public class Bounds extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/CORBA/Bounds:1.0"; public Bounds() { super(_ob_id); } public Bounds(String _reason) { super(_ob_id + " " + _reason); } }
4,560
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/WrongTransactionHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/WrongTransaction:1.0 // public abstract class WrongTransactionHelper { public static void insert(org.omg.CORBA.Any any, WrongTransaction val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static WrongTransaction 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[0]; typeCode_ = orb.create_exception_tc(id(), "WrongTransaction", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/WrongTransaction:1.0"; } public static WrongTransaction read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); WrongTransaction _ob_v = new WrongTransaction(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, WrongTransaction val) { out.write_string(id()); } }
4,561
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/AttributeDefHelper.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 // final public class AttributeDefHelper { public static void insert(org.omg.CORBA.Any any, AttributeDef val) { any.insert_Object(val, type()); } public static AttributeDef 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(), "AttributeDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/AttributeDef:1.0"; } public static AttributeDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (AttributeDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _AttributeDefStub _ob_stub = new _AttributeDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, AttributeDef val) { out.write_Object(val); } public static AttributeDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (AttributeDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _AttributeDefStub _ob_stub = new _AttributeDefStub(); _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 AttributeDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (AttributeDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _AttributeDefStub _ob_stub = new _AttributeDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,562
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/DIIPollableHelper.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/DIIPollable:1.0 // final public class DIIPollableHelper { public static void insert(org.omg.CORBA.Any any, DIIPollable val) { any.insert_Value(val, type()); } public static DIIPollable extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof DIIPollable) return (DIIPollable)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0]; typeCode_ = orb.create_value_tc(id(), "DIIPollable", org.omg.CORBA.VM_ABSTRACT.value, null, members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/DIIPollable:1.0"; } public static DIIPollable read(org.omg.CORBA.portable.InputStream in) { if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream)) throw new org.omg.CORBA.BAD_PARAM(); return (DIIPollable)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id()); } public static void write(org.omg.CORBA.portable.OutputStream out, DIIPollable val) { if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream)) throw new org.omg.CORBA.BAD_PARAM(); ((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id()); } }
4,563
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/OperationDef.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 // /***/ public interface OperationDef extends OperationDefOperations, Contained, org.omg.CORBA.portable.IDLEntity { }
4,564
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/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; // // IDL:omg.org/CORBA/Policy:1.0 // public abstract class PolicyHelper { public static void insert(org.omg.CORBA.Any any, Policy val) { any.insert_Object(val, type()); } public static Policy 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(), "Policy"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/Policy:1.0"; } public static Policy read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (Policy)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _PolicyStub _ob_stub = new _PolicyStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, Policy val) { out.write_Object(val); } public static Policy narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (Policy)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _PolicyStub _ob_stub = new _PolicyStub(); _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 Policy unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (Policy)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _PolicyStub _ob_stub = new _PolicyStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,565
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/OperationDescriptionHelper.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/OperationDescription:1.0 // final public class OperationDescriptionHelper { 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(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[10]; 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 = "result"; members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode); members[5] = new org.omg.CORBA.StructMember(); members[5].name = "mode"; members[5].type = OperationModeHelper.type(); members[6] = new org.omg.CORBA.StructMember(); members[6].name = "contexts"; members[6].type = ContextIdSeqHelper.type(); members[7] = new org.omg.CORBA.StructMember(); members[7].name = "parameters"; members[7].type = ParDescriptionSeqHelper.type(); members[8] = new org.omg.CORBA.StructMember(); members[8].name = "exceptions"; members[8].type = ExcDescriptionSeqHelper.type(); members[9] = new org.omg.CORBA.StructMember(); members[9].name = "natives"; members[9].type = NativeDescriptionSeqHelper.type(); typeCode_ = orb.create_struct_tc(id(), "OperationDescription", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/OperationDescription:1.0"; } public static OperationDescription read(org.omg.CORBA.portable.InputStream in) { OperationDescription _ob_v = new OperationDescription(); _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.result = in.read_TypeCode(); _ob_v.mode = OperationModeHelper.read(in); _ob_v.contexts = ContextIdSeqHelper.read(in); _ob_v.parameters = ParDescriptionSeqHelper.read(in); _ob_v.exceptions = ExcDescriptionSeqHelper.read(in); _ob_v.natives = NativeDescriptionSeqHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, OperationDescription 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.result); OperationModeHelper.write(out, val.mode); ContextIdSeqHelper.write(out, val.contexts); ParDescriptionSeqHelper.write(out, val.parameters); ExcDescriptionSeqHelper.write(out, val.exceptions); NativeDescriptionSeqHelper.write(out, val.natives); } }
4,566
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/_PolicyStub.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/Policy:1.0 // public class _PolicyStub extends org.omg.CORBA.portable.ObjectImpl implements Policy { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/Policy:1.0", }; public _PolicyStub() { } public _PolicyStub(org.omg.CORBA.portable.Delegate delegate) { _set_delegate(delegate); } public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = PolicyOperations.class; // // IDL:omg.org/CORBA/Policy/policy_type:1.0 // public int policy_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_policy_type", true); in = _invoke(out); int _ob_r = PolicyTypeHelper.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("policy_type", _ob_opsClass); if(_ob_so == null) continue; PolicyOperations _ob_self = (PolicyOperations)_ob_so.servant; try { return _ob_self.policy_type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Policy/copy:1.0 // public Policy copy() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("copy", true); in = _invoke(out); Policy _ob_r = PolicyHelper.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("copy", _ob_opsClass); if(_ob_so == null) continue; PolicyOperations _ob_self = (PolicyOperations)_ob_so.servant; try { return _ob_self.copy(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Policy/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; PolicyOperations _ob_self = (PolicyOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,567
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_INV_ORDERHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; final public class BAD_INV_ORDERHolder implements org.omg.CORBA.portable.Streamable { public BAD_INV_ORDER value; public BAD_INV_ORDERHolder() { } public BAD_INV_ORDERHolder(BAD_INV_ORDER initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = BAD_INV_ORDERHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { BAD_INV_ORDERHelper.write(out, value); } public TypeCode _type() { return BAD_INV_ORDERHelper.type(); } }
4,568
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/IDLTypeOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/IDLType:1.0 // /***/ public interface IDLTypeOperations extends IRObjectOperations { // // IDL:omg.org/CORBA/IDLType/type:1.0 // /***/ org.omg.CORBA.TypeCode type(); }
4,569
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/BoundsHolder.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/Bounds:1.0 // final public class BoundsHolder implements org.omg.CORBA.portable.Streamable { public Bounds value; public BoundsHolder() { } public BoundsHolder(Bounds initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = BoundsHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { BoundsHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return BoundsHelper.type(); } }
4,570
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/DIIPollableHolder.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/DIIPollable:1.0 // final public class DIIPollableHolder implements org.omg.CORBA.portable.Streamable { public DIIPollable value; public DIIPollableHolder() { } public DIIPollableHolder(DIIPollable initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = DIIPollableHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { DIIPollableHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return DIIPollableHelper.type(); } }
4,571
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/AttributeDefHolder.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 // final public class AttributeDefHolder implements org.omg.CORBA.portable.Streamable { public AttributeDef value; public AttributeDefHolder() { } public AttributeDefHolder(AttributeDef initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AttributeDefHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AttributeDefHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AttributeDefHelper.type(); } }
4,572
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/TCKind.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; // // We cannot generate this class from IDL because we need hacks to // support org.omg.CORBA_2_4.tk_local_interface // public class TCKind implements org.omg.CORBA.portable.IDLEntity { private static TCKind[] values_ = new TCKind[34]; private int value_; public final static int _tk_null = 0; public final static TCKind tk_null = new TCKind(_tk_null); public final static int _tk_void = 1; public final static TCKind tk_void = new TCKind(_tk_void); public final static int _tk_short = 2; public final static TCKind tk_short = new TCKind(_tk_short); public final static int _tk_long = 3; public final static TCKind tk_long = new TCKind(_tk_long); public final static int _tk_ushort = 4; public final static TCKind tk_ushort = new TCKind(_tk_ushort); public final static int _tk_ulong = 5; public final static TCKind tk_ulong = new TCKind(_tk_ulong); public final static int _tk_float = 6; public final static TCKind tk_float = new TCKind(_tk_float); public final static int _tk_double = 7; public final static TCKind tk_double = new TCKind(_tk_double); public final static int _tk_boolean = 8; public final static TCKind tk_boolean = new TCKind(_tk_boolean); public final static int _tk_char = 9; public final static TCKind tk_char = new TCKind(_tk_char); public final static int _tk_octet = 10; public final static TCKind tk_octet = new TCKind(_tk_octet); public final static int _tk_any = 11; public final static TCKind tk_any = new TCKind(_tk_any); public final static int _tk_TypeCode = 12; public final static TCKind tk_TypeCode = new TCKind(_tk_TypeCode); public final static int _tk_Principal = 13; public final static TCKind tk_Principal = new TCKind(_tk_Principal); public final static int _tk_objref = 14; public final static TCKind tk_objref = new TCKind(_tk_objref); public final static int _tk_struct = 15; public final static TCKind tk_struct = new TCKind(_tk_struct); public final static int _tk_union = 16; public final static TCKind tk_union = new TCKind(_tk_union); public final static int _tk_enum = 17; public final static TCKind tk_enum = new TCKind(_tk_enum); public final static int _tk_string = 18; public final static TCKind tk_string = new TCKind(_tk_string); public final static int _tk_sequence = 19; public final static TCKind tk_sequence = new TCKind(_tk_sequence); public final static int _tk_array = 20; public final static TCKind tk_array = new TCKind(_tk_array); public final static int _tk_alias = 21; public final static TCKind tk_alias = new TCKind(_tk_alias); public final static int _tk_except = 22; public final static TCKind tk_except = new TCKind(_tk_except); public final static int _tk_longlong = 23; public final static TCKind tk_longlong = new TCKind(_tk_longlong); public final static int _tk_ulonglong = 24; public final static TCKind tk_ulonglong = new TCKind(_tk_ulonglong); public final static int _tk_longdouble = 25; public final static TCKind tk_longdouble = new TCKind(_tk_longdouble); public final static int _tk_wchar = 26; public final static TCKind tk_wchar = new TCKind(_tk_wchar); public final static int _tk_wstring = 27; public final static TCKind tk_wstring = new TCKind(_tk_wstring); public final static int _tk_fixed = 28; public final static TCKind tk_fixed = new TCKind(_tk_fixed); public final static int _tk_value = 29; public final static TCKind tk_value = new TCKind(_tk_value); public final static int _tk_value_box = 30; public final static TCKind tk_value_box = new TCKind(_tk_value_box); public final static int _tk_native = 31; public final static TCKind tk_native = new TCKind(_tk_native); public final static int _tk_abstract_interface = 32; public final static TCKind tk_abstract_interface = new TCKind( _tk_abstract_interface); protected TCKind(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static TCKind from_int(int value) { if (value < values_.length) return values_[value]; else throw new BAD_PARAM("Value (" + value + ") out of range: ", 25, CompletionStatus.COMPLETED_NO); } private java.lang.Object readResolve() throws java.io.ObjectStreamException { return from_int(value()); } }
4,573
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/WrongTransactionHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/WrongTransaction:1.0 // final public class WrongTransactionHolder implements org.omg.CORBA.portable.Streamable { public WrongTransaction value; public WrongTransactionHolder() { } public WrongTransactionHolder(WrongTransaction initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = WrongTransactionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { WrongTransactionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return WrongTransactionHelper.type(); } }
4,574
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTF_REPOS.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; final public class INTF_REPOS extends org.omg.CORBA.SystemException { public INTF_REPOS() { super("", 0, CompletionStatus.COMPLETED_NO); } public INTF_REPOS(int minor, CompletionStatus completed) { super("", minor, completed); } public INTF_REPOS(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public INTF_REPOS(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,575
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/UnionDef.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/UnionDef:1.0 // /***/ public interface UnionDef extends UnionDefOperations, TypedefDef, Container, org.omg.CORBA.portable.IDLEntity { }
4,576
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/InitializerSeqHolder.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/InitializerSeq:1.0 // final public class InitializerSeqHolder implements org.omg.CORBA.portable.Streamable { public Initializer[] value; public InitializerSeqHolder() { } public InitializerSeqHolder(Initializer[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = InitializerSeqHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { InitializerSeqHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return InitializerSeqHelper.type(); } }
4,577
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/TypeDescriptionHelper.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/TypeDescription:1.0 // final public class TypeDescriptionHelper { public static void insert(org.omg.CORBA.Any any, TypeDescription val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static TypeDescription 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(), "TypeDescription", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/TypeDescription:1.0"; } public static TypeDescription read(org.omg.CORBA.portable.InputStream in) { TypeDescription _ob_v = new TypeDescription(); _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, TypeDescription 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,578
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/COMM_FAILURE.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 COMM_FAILURE extends org.omg.CORBA.SystemException { public COMM_FAILURE() { super("", 0, CompletionStatus.COMPLETED_NO); } public COMM_FAILURE(int minor, CompletionStatus completed) { super("", minor, completed); } public COMM_FAILURE(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,579
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/UnionDefHelper.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/UnionDef:1.0 // final public class UnionDefHelper { public static void insert(org.omg.CORBA.Any any, UnionDef val) { any.insert_Object(val, type()); } public static UnionDef 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(), "UnionDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/UnionDef:1.0"; } public static UnionDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (UnionDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _UnionDefStub _ob_stub = new _UnionDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, UnionDef val) { out.write_Object(val); } public static UnionDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (UnionDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _UnionDefStub _ob_stub = new _UnionDefStub(); _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 UnionDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (UnionDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _UnionDefStub _ob_stub = new _UnionDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,580
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/EnumDefOperations.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/EnumDef:1.0 // /***/ public interface EnumDefOperations extends TypedefDefOperations { // // IDL:omg.org/CORBA/EnumDef/members:1.0 // /***/ String[] members(); void members(String[] val); }
4,581
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/ServiceInformation.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ServiceInformation:1.0 // /***/ final public class ServiceInformation implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/CORBA/ServiceInformation:1.0"; public ServiceInformation() { } public ServiceInformation(int[] service_options, ServiceDetail[] service_details) { this.service_options = service_options; this.service_details = service_details; } public int[] service_options; public ServiceDetail[] service_details; }
4,582
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/ObjectHolder.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 ObjectHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CORBA.Object value; public ObjectHolder() { } public ObjectHolder(org.omg.CORBA.Object initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream input) { value = input.read_Object(); } public void _write(org.omg.CORBA.portable.OutputStream output) { output.write_Object(value); } public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_objref); } }
4,583
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_CONVERSION.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_CONVERSION extends org.omg.CORBA.SystemException { public DATA_CONVERSION() { super("", 0, CompletionStatus.COMPLETED_NO); } public DATA_CONVERSION(int minor, CompletionStatus completed) { super("", minor, completed); } public DATA_CONVERSION(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public DATA_CONVERSION(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,584
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/SequenceDef.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 // /***/ public interface SequenceDef extends SequenceDefOperations, IDLType, org.omg.CORBA.portable.IDLEntity { }
4,585
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/_RepositoryStub.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 class _RepositoryStub extends org.omg.CORBA.portable.ObjectImpl implements Repository { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/Repository:1.0", "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 = RepositoryOperations.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; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.def_kind(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/lookup_id:1.0 // public Contained lookup_id(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_id", true); RepositoryIdHelper.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_id", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.lookup_id(_ob_a0); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/get_canonical_typecode:1.0 // public org.omg.CORBA.TypeCode get_canonical_typecode(org.omg.CORBA.TypeCode _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("get_canonical_typecode", true); out.write_TypeCode(_ob_a0); 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(); 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("get_canonical_typecode", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.get_canonical_typecode(_ob_a0); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/get_primitive:1.0 // public PrimitiveDef get_primitive(PrimitiveKind _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("get_primitive", true); PrimitiveKindHelper.write(out, _ob_a0); in = _invoke(out); PrimitiveDef _ob_r = PrimitiveDefHelper.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("get_primitive", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.get_primitive(_ob_a0); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/create_string:1.0 // public StringDef create_string(int _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("create_string", true); out.write_ulong(_ob_a0); in = _invoke(out); StringDef _ob_r = StringDefHelper.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_string", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.create_string(_ob_a0); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/create_wstring:1.0 // public WstringDef create_wstring(int _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("create_wstring", true); out.write_ulong(_ob_a0); in = _invoke(out); WstringDef _ob_r = WstringDefHelper.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_wstring", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.create_wstring(_ob_a0); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/create_sequence:1.0 // public SequenceDef create_sequence(int _ob_a0, IDLType _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("create_sequence", true); out.write_ulong(_ob_a0); IDLTypeHelper.write(out, _ob_a1); in = _invoke(out); SequenceDef _ob_r = SequenceDefHelper.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_sequence", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.create_sequence(_ob_a0, _ob_a1); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/create_array:1.0 // public ArrayDef create_array(int _ob_a0, IDLType _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("create_array", true); out.write_ulong(_ob_a0); IDLTypeHelper.write(out, _ob_a1); in = _invoke(out); ArrayDef _ob_r = ArrayDefHelper.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_array", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.create_array(_ob_a0, _ob_a1); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/Repository/create_fixed:1.0 // public FixedDef create_fixed(short _ob_a0, short _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("create_fixed", true); out.write_ushort(_ob_a0); out.write_short(_ob_a1); in = _invoke(out); FixedDef _ob_r = FixedDefHelper.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_fixed", _ob_opsClass); if(_ob_so == null) continue; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { return _ob_self.create_fixed(_ob_a0, _ob_a1); } 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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_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; RepositoryOperations _ob_self = (RepositoryOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,586
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/_NativeDefStub.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 // public class _NativeDefStub extends org.omg.CORBA.portable.ObjectImpl implements NativeDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/NativeDef:1.0", "IDL:omg.org/CORBA/TypedefDef:1.0", "IDL:omg.org/CORBA/Contained:1.0", "IDL:omg.org/CORBA/IRObject:1.0", "IDL:omg.org/CORBA/IDLType:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = NativeDefOperations.class; // // IDL:omg.org/CORBA/Contained/id:1.0 // public String id() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_id", true); in = _invoke(out); String _ob_r = RepositoryIdHelper.read(in); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass); if(_ob_so == null) continue; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_ob_so.servant; try { return _ob_self.def_kind(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/IDLType/type:1.0 // public org.omg.CORBA.TypeCode type() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; NativeDefOperations _ob_self = (NativeDefOperations)_ob_so.servant; try { return _ob_self.type(); } 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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_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; NativeDefOperations _ob_self = (NativeDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,587
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_IMPLEMENT.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_IMPLEMENT extends org.omg.CORBA.SystemException { public NO_IMPLEMENT() { super("", 0, CompletionStatus.COMPLETED_NO); } public NO_IMPLEMENT(int minor, CompletionStatus completed) { super("", minor, completed); } public NO_IMPLEMENT(String reason) { super(reason, 0, CompletionStatus.COMPLETED_NO); } public NO_IMPLEMENT(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } }
4,588
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/COMM_FAILUREHolder.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 COMM_FAILUREHolder implements org.omg.CORBA.portable.Streamable { public COMM_FAILURE value; public COMM_FAILUREHolder() { } public COMM_FAILUREHolder(COMM_FAILURE initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = COMM_FAILUREHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { COMM_FAILUREHelper.write(out, value); } public TypeCode _type() { return COMM_FAILUREHelper.type(); } }
4,589
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/_WstringDefStub.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 class _WstringDefStub extends org.omg.CORBA.portable.ObjectImpl implements WstringDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/WstringDef:1.0", "IDL:omg.org/CORBA/IDLType:1.0", "IDL:omg.org/CORBA/IRObject:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = WstringDefOperations.class; // // IDL:omg.org/CORBA/WstringDef/bound:1.0 // public int bound() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_bound", true); in = _invoke(out); int _ob_r = in.read_ulong(); 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("bound", _ob_opsClass); if(_ob_so == null) continue; WstringDefOperations _ob_self = (WstringDefOperations)_ob_so.servant; try { return _ob_self.bound(); } finally { _servant_postinvoke(_ob_so); } } } } public void bound(int _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_bound", true); out.write_ulong(_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("bound", _ob_opsClass); if(_ob_so == null) continue; WstringDefOperations _ob_self = (WstringDefOperations)_ob_so.servant; try { _ob_self.bound(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/IDLType/type:1.0 // public org.omg.CORBA.TypeCode type() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; WstringDefOperations _ob_self = (WstringDefOperations)_ob_so.servant; try { return _ob_self.type(); } 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; WstringDefOperations _ob_self = (WstringDefOperations)_ob_so.servant; try { return _ob_self.def_kind(); } 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; WstringDefOperations _ob_self = (WstringDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,590
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_UNAVAILABLEHolder.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_UNAVAILABLEHolder implements org.omg.CORBA.portable.Streamable { public TRANSACTION_UNAVAILABLE value; public TRANSACTION_UNAVAILABLEHolder() { } public TRANSACTION_UNAVAILABLEHolder(TRANSACTION_UNAVAILABLE initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = TRANSACTION_UNAVAILABLEHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { TRANSACTION_UNAVAILABLEHelper.write(out, value); } public TypeCode _type() { return TRANSACTION_UNAVAILABLEHelper.type(); } }
4,591
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/AbstractInterfaceDefHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/AbstractInterfaceDef:1.0 // final public class AbstractInterfaceDefHelper { public static void insert(org.omg.CORBA.Any any, AbstractInterfaceDef val) { any.insert_Object(val, type()); } public static AbstractInterfaceDef 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(), "AbstractInterfaceDef"); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/AbstractInterfaceDef:1.0"; } public static AbstractInterfaceDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (AbstractInterfaceDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _AbstractInterfaceDefStub _ob_stub = new _AbstractInterfaceDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } public static void write(org.omg.CORBA.portable.OutputStream out, AbstractInterfaceDef val) { out.write_Object(val); } public static AbstractInterfaceDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (AbstractInterfaceDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _AbstractInterfaceDefStub _ob_stub = new _AbstractInterfaceDefStub(); _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 AbstractInterfaceDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (AbstractInterfaceDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _AbstractInterfaceDefStub _ob_stub = new _AbstractInterfaceDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
4,592
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/ParameterDescriptionHolder.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/ParameterDescription:1.0 // final public class ParameterDescriptionHolder implements org.omg.CORBA.portable.Streamable { public ParameterDescription value; public ParameterDescriptionHolder() { } public ParameterDescriptionHolder(ParameterDescription initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ParameterDescriptionHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ParameterDescriptionHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ParameterDescriptionHelper.type(); } }
4,593
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/NativeDef.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 // /***/ public interface NativeDef extends NativeDefOperations, TypedefDef, org.omg.CORBA.portable.IDLEntity { }
4,594
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/_ArrayDefStub.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.CORBA; // // IDL:omg.org/CORBA/ArrayDef:1.0 // public class _ArrayDefStub extends org.omg.CORBA.portable.ObjectImpl implements ArrayDef { private static final String[] _ob_ids_ = { "IDL:omg.org/CORBA/ArrayDef:1.0", "IDL:omg.org/CORBA/IDLType:1.0", "IDL:omg.org/CORBA/IRObject:1.0" }; public String[] _ids() { return _ob_ids_; } final public static java.lang.Class _ob_opsClass = ArrayDefOperations.class; // // IDL:omg.org/CORBA/ArrayDef/length:1.0 // public int length() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_length", true); in = _invoke(out); int _ob_r = in.read_ulong(); 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("length", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { return _ob_self.length(); } finally { _servant_postinvoke(_ob_so); } } } } public void length(int _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_length", true); out.write_ulong(_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("length", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { _ob_self.length(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/ArrayDef/element_type:1.0 // public org.omg.CORBA.TypeCode element_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_element_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("element_type", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { return _ob_self.element_type(); } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/ArrayDef/element_type_def:1.0 // public IDLType element_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_element_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("element_type_def", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { return _ob_self.element_type_def(); } finally { _servant_postinvoke(_ob_so); } } } } public void element_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_element_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("element_type_def", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { _ob_self.element_type_def(_ob_a); return; } finally { _servant_postinvoke(_ob_so); } } } } // // IDL:omg.org/CORBA/IDLType/type:1.0 // public org.omg.CORBA.TypeCode type() { while(true) { if(!this._is_local()) { org.omg.CORBA.portable.OutputStream out = null; org.omg.CORBA.portable.InputStream in = null; try { out = _request("_get_type", true); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; } catch(org.omg.CORBA.portable.RemarshalException _ob_ex) { continue; } catch(org.omg.CORBA.portable.ApplicationException _ob_aex) { final String _ob_id = _ob_aex.getId(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id); } finally { _releaseReply(in); } } else { org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass); if(_ob_so == null) continue; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { return _ob_self.type(); } 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; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { return _ob_self.def_kind(); } 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; ArrayDefOperations _ob_self = (ArrayDefOperations)_ob_so.servant; try { _ob_self.destroy(); return; } finally { _servant_postinvoke(_ob_so); } } } } }
4,595
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/Security.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/Security:1.0 // /***/ public interface Security { short value = (short)(1L); }
4,596
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/UnionMemberHelper.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/UnionMember:1.0 // public abstract class UnionMemberHelper { 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(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[4]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "name"; members[0].type = IdentifierHelper.type(); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "label"; members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any); members[2] = new org.omg.CORBA.StructMember(); members[2].name = "type"; members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode); members[3] = new org.omg.CORBA.StructMember(); members[3].name = "type_def"; members[3].type = IDLTypeHelper.type(); typeCode_ = orb.create_struct_tc(id(), "UnionMember", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/UnionMember:1.0"; } public static UnionMember read(org.omg.CORBA.portable.InputStream in) { UnionMember _ob_v = new UnionMember(); _ob_v.name = IdentifierHelper.read(in); _ob_v.label = in.read_any(); _ob_v.type = in.read_TypeCode(); _ob_v.type_def = IDLTypeHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, UnionMember val) { IdentifierHelper.write(out, val.name); out.write_any(val.label); out.write_TypeCode(val.type); IDLTypeHelper.write(out, val.type_def); } }
4,597
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/ContextIdentifierHelper.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/ContextIdentifier:1.0 // final public class ContextIdentifierHelper { 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(), "ContextIdentifier", IdentifierHelper.type()); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/ContextIdentifier:1.0"; } public static String read(org.omg.CORBA.portable.InputStream in) { String _ob_v; _ob_v = IdentifierHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, String val) { IdentifierHelper.write(out, val); } }
4,598
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_IDENTHelper.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_IDENTHelper { public static void insert(Any any, INV_IDENT 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_IDENT 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_IDENT", members); } return typeCode_; } public static String id() { return "IDL:omg.org/CORBA/INV_IDENT:1.0"; } public static INV_IDENT read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); INV_IDENT val = new INV_IDENT(); 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_IDENT val) { out.write_string(id()); out.write_ulong(val.minor); out.write_ulong(val.completed.value()); } }
4,599