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/IOP/CodecOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Codec:1.0 // /***/ public interface CodecOperations { // // IDL:omg.org/IOP/Codec/encode:1.0 // /***/ byte[] encode(org.omg.CORBA.Any data) throws org.omg.IOP.CodecPackage.InvalidTypeForEncoding; // // IDL:omg.org/IOP/Codec/decode:1.0 // /***/ org.omg.CORBA.Any decode(byte[] data) throws org.omg.IOP.CodecPackage.FormatMismatch; // // IDL:omg.org/IOP/Codec/encode_value:1.0 // /***/ byte[] encode_value(org.omg.CORBA.Any data) throws org.omg.IOP.CodecPackage.InvalidTypeForEncoding; // // IDL:omg.org/IOP/Codec/decode_value:1.0 // /***/ org.omg.CORBA.Any decode_value(byte[] data, org.omg.CORBA.TypeCode tc) throws org.omg.IOP.CodecPackage.FormatMismatch, org.omg.IOP.CodecPackage.TypeMismatch; }
5,100
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/UnknownExceptionInfo.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/UnknownExceptionInfo:1.0 // /***/ public interface UnknownExceptionInfo { int value = (int)(9L); }
5,101
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecFactoryHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/CodecFactory:1.0 // final public class CodecFactoryHolder implements org.omg.CORBA.portable.Streamable { public CodecFactory value; public CodecFactoryHolder() { } public CodecFactoryHolder(CodecFactory initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = CodecFactoryHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { CodecFactoryHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return CodecFactoryHelper.type(); } }
5,102
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/EncodingHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Encoding:1.0 // final public class EncodingHolder implements org.omg.CORBA.portable.Streamable { public Encoding value; public EncodingHolder() { } public EncodingHolder(Encoding initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = EncodingHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { EncodingHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return EncodingHelper.type(); } }
5,103
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/ServiceContextListHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/ServiceContextList:1.0 // public class ServiceContextListHelper { public static void insert(org.omg.CORBA.Any any, ServiceContext[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ServiceContext[] 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(), "ServiceContextList", orb.create_sequence_tc(0, ServiceContextHelper.type())); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/ServiceContextList:1.0"; } public static ServiceContext[] read(org.omg.CORBA.portable.InputStream in) { ServiceContext[] _ob_v; int len0 = in.read_ulong(); _ob_v = new ServiceContext[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = ServiceContextHelper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ServiceContext[] val) { int len0 = val.length; out.write_ulong(len0); for(int i0 = 0; i0 < len0; i0++) ServiceContextHelper.write(out, val[i0]); } }
5,104
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // //IDL:omg.org/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT:1.0 // /***/ public interface TAG_RMI_CUSTOM_MAX_STREAM_FORMAT { int value = (int)(38L); }
5,105
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Codec:1.0 // public class CodecHelper { public static void insert(org.omg.CORBA.Any any, Codec val) { any.insert_Object(val, type()); } public static Codec 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(), "Codec"); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/Codec:1.0"; } public static Codec read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, Codec val) { throw new org.omg.CORBA.MARSHAL(); } public static Codec narrow(org.omg.CORBA.Object val) { try { return (Codec)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,106
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_COMPLETE_OBJECT_KEY.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_COMPLETE_OBJECT_KEY:1.0 // /***/ public interface TAG_COMPLETE_OBJECT_KEY { int value = (int)(5L); }
5,107
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TaggedComponent.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TaggedComponent:1.0 // /***/ final public class TaggedComponent implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/IOP/TaggedComponent:1.0"; public TaggedComponent() { } public TaggedComponent(int tag, byte[] component_data) { this.tag = tag; this.component_data = component_data; } public int tag; public byte[] component_data; }
5,108
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_CSI_ECMA_Public_SEC_MECH.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_CSI_ECMA_Public_SEC_MECH:1.0 // /***/ public interface TAG_CSI_ECMA_Public_SEC_MECH { int value = (int)(21L); }
5,109
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/BI_DIR_IIOP.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/BI_DIR_IIOP:1.0 // /***/ public interface BI_DIR_IIOP { int value = (int)(5L); }
5,110
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/Encoding.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Encoding:1.0 // /***/ final public class Encoding implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/IOP/Encoding:1.0"; public Encoding() { } public Encoding(short format, byte major_version, byte minor_version) { this.format = format; this.major_version = major_version; this.minor_version = minor_version; } public short format; public byte major_version; public byte minor_version; }
5,111
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/FORWARDED_IDENTITY.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/FORWARDED_IDENTITY:1.0 // /***/ public interface FORWARDED_IDENTITY { int value = (int)(8L); }
5,112
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/Codec.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Codec:1.0 // /***/ public interface Codec extends CodecOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { }
5,113
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/ENCODING_CDR_ENCAPS.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/ENCODING_CDR_ENCAPS:1.0 // /***/ public interface ENCODING_CDR_ENCAPS { short value = (short)(0L); }
5,114
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_SPKM_2_SEC_MECH.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_SPKM_2_SEC_MECH:1.0 // /***/ public interface TAG_SPKM_2_SEC_MECH { int value = (int)(16L); }
5,115
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/Codec:1.0 // final public class CodecHolder implements org.omg.CORBA.portable.Streamable { public Codec value; public CodecHolder() { } public CodecHolder(Codec initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = CodecHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { CodecHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return CodecHelper.type(); } }
5,116
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecFactory.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/CodecFactory:1.0 // /***/ public interface CodecFactory extends CodecFactoryOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { }
5,117
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/ServiceContextHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/ServiceContext:1.0 // public class ServiceContextHelper { public static void insert(org.omg.CORBA.Any any, ServiceContext val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ServiceContext extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "context_id"; members[0].type = ServiceIdHelper.type(); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "context_data"; members[1].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet)); typeCode_ = orb.create_struct_tc(id(), "ServiceContext", members); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/ServiceContext:1.0"; } public static ServiceContext read(org.omg.CORBA.portable.InputStream in) { ServiceContext _ob_v = new ServiceContext(); _ob_v.context_id = ServiceIdHelper.read(in); int len0 = in.read_ulong(); _ob_v.context_data = new byte[len0]; in.read_octet_array(_ob_v.context_data, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ServiceContext val) { ServiceIdHelper.write(out, val.context_id); int len0 = val.context_data.length; out.write_ulong(len0); out.write_octet_array(val.context_data, 0, len0); } }
5,118
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_CODE_SETS.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_CODE_SETS:1.0 // /***/ public interface TAG_CODE_SETS { int value = (int)(1L); }
5,119
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_DCE_STRING_BINDING.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_DCE_STRING_BINDING:1.0 // /***/ public interface TAG_DCE_STRING_BINDING { int value = (int)(100L); }
5,120
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/ComponentIdHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/ComponentId:1.0 // public class ComponentIdHelper { public static void insert(org.omg.CORBA.Any any, int val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static int extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "ComponentId", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong)); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/ComponentId:1.0"; } public static int read(org.omg.CORBA.portable.InputStream in) { int _ob_v; _ob_v = in.read_ulong(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, int val) { out.write_ulong(val); } }
5,121
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_LOCATION_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.IOP; // // IDL:omg.org/IOP/TAG_LOCATION_POLICY:1.0 // /***/ public interface TAG_LOCATION_POLICY { int value = (int)(12L); }
5,122
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_SPKM_1_SEC_MECH.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_SPKM_1_SEC_MECH:1.0 // /***/ public interface TAG_SPKM_1_SEC_MECH { int value = (int)(15L); }
5,123
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_ASSOCIATION_OPTIONS.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_ASSOCIATION_OPTIONS:1.0 // /***/ public interface TAG_ASSOCIATION_OPTIONS { int value = (int)(13L); }
5,124
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_DCE_NO_PIPES.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // ********************************************************************** // Version: 4.3.1 package org.omg.IOP; // // IDL:omg.org/IOP/TAG_DCE_NO_PIPES:1.0 // /***/ public interface TAG_DCE_NO_PIPES { int value = (int)(102L); }
5,125
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/TAG_ALTERNATE_IIOP_ADDRESS:1.0 // /***/ public interface TAG_ALTERNATE_IIOP_ADDRESS { int value = (int)(3L); }
5,126
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/ServiceContextHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP; // // IDL:omg.org/IOP/ServiceContext:1.0 // final public class ServiceContextHolder implements org.omg.CORBA.portable.Streamable { public ServiceContext value; public ServiceContextHolder() { } public ServiceContextHolder(ServiceContext initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ServiceContextHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ServiceContextHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ServiceContextHelper.type(); } }
5,127
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecFactoryPackage; // // IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0 // /***/ final public class UnknownEncoding extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0"; public UnknownEncoding() { super(_ob_id); } public UnknownEncoding(String _reason) { super(_ob_id + " " + _reason); } }
5,128
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecFactoryPackage; // // IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0 // public class UnknownEncodingHelper { public static void insert(org.omg.CORBA.Any any, UnknownEncoding val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static UnknownEncoding 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(), "UnknownEncoding", members); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0"; } public static UnknownEncoding read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); UnknownEncoding _ob_v = new UnknownEncoding(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, UnknownEncoding val) { out.write_string(id()); } }
5,129
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecFactoryPackage; // // IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0 // final public class UnknownEncodingHolder implements org.omg.CORBA.portable.Streamable { public UnknownEncoding value; public UnknownEncodingHolder() { } public UnknownEncodingHolder(UnknownEncoding initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = UnknownEncodingHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { UnknownEncodingHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return UnknownEncodingHelper.type(); } }
5,130
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/FormatMismatchHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/FormatMismatch:1.0 // public class FormatMismatchHelper { public static void insert(org.omg.CORBA.Any any, FormatMismatch val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static FormatMismatch 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(), "FormatMismatch", members); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/Codec/FormatMismatch:1.0"; } public static FormatMismatch read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); FormatMismatch _ob_v = new FormatMismatch(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, FormatMismatch val) { out.write_string(id()); } }
5,131
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/FormatMismatchHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/FormatMismatch:1.0 // final public class FormatMismatchHolder implements org.omg.CORBA.portable.Streamable { public FormatMismatch value; public FormatMismatchHolder() { } public FormatMismatchHolder(FormatMismatch initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = FormatMismatchHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { FormatMismatchHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return FormatMismatchHelper.type(); } }
5,132
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0 // /***/ final public class InvalidTypeForEncoding extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0"; public InvalidTypeForEncoding() { super(_ob_id); } public InvalidTypeForEncoding(String _reason) { super(_ob_id + " " + _reason); } }
5,133
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0 // final public class InvalidTypeForEncodingHolder implements org.omg.CORBA.portable.Streamable { public InvalidTypeForEncoding value; public InvalidTypeForEncodingHolder() { } public InvalidTypeForEncodingHolder(InvalidTypeForEncoding initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = InvalidTypeForEncodingHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { InvalidTypeForEncodingHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return InvalidTypeForEncodingHelper.type(); } }
5,134
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0 // public class InvalidTypeForEncodingHelper { public static void insert(org.omg.CORBA.Any any, InvalidTypeForEncoding val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static InvalidTypeForEncoding 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(), "InvalidTypeForEncoding", members); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0"; } public static InvalidTypeForEncoding read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); InvalidTypeForEncoding _ob_v = new InvalidTypeForEncoding(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, InvalidTypeForEncoding val) { out.write_string(id()); } }
5,135
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/TypeMismatchHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/TypeMismatch:1.0 // final public class TypeMismatchHolder implements org.omg.CORBA.portable.Streamable { public TypeMismatch value; public TypeMismatchHolder() { } public TypeMismatchHolder(TypeMismatch initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = TypeMismatchHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { TypeMismatchHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return TypeMismatchHelper.type(); } }
5,136
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/TypeMismatchHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/TypeMismatch:1.0 // public class TypeMismatchHelper { public static void insert(org.omg.CORBA.Any any, TypeMismatch val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static TypeMismatch 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(), "TypeMismatch", members); } return typeCode_; } public static String id() { return "IDL:omg.org/IOP/Codec/TypeMismatch:1.0"; } public static TypeMismatch read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); TypeMismatch _ob_v = new TypeMismatch(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, TypeMismatch val) { out.write_string(id()); } }
5,137
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/TypeMismatch.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/TypeMismatch:1.0 // /***/ final public class TypeMismatch extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/IOP/Codec/TypeMismatch:1.0"; public TypeMismatch() { super(_ob_id); } public TypeMismatch(String _reason) { super(_ob_id + " " + _reason); } }
5,138
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IOP/CodecPackage/FormatMismatch.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.IOP.CodecPackage; // // IDL:omg.org/IOP/Codec/FormatMismatch:1.0 // /***/ final public class FormatMismatch extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/IOP/Codec/FormatMismatch:1.0"; public FormatMismatch() { super(_ob_id); } public FormatMismatch(String _reason) { super(_ob_id + " " + _reason); } }
5,139
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantManager.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantManager:1.0 // /***/ public interface ServantManager extends ServantManagerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { }
5,140
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ImplicitActivationPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ImplicitActivationPolicyValue:1.0 // /***/ public class ImplicitActivationPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static ImplicitActivationPolicyValue [] values_ = new ImplicitActivationPolicyValue[2]; private int value_; public final static int _IMPLICIT_ACTIVATION = 0; public final static ImplicitActivationPolicyValue IMPLICIT_ACTIVATION = new ImplicitActivationPolicyValue(_IMPLICIT_ACTIVATION); public final static int _NO_IMPLICIT_ACTIVATION = 1; public final static ImplicitActivationPolicyValue NO_IMPLICIT_ACTIVATION = new ImplicitActivationPolicyValue(_NO_IMPLICIT_ACTIVATION); protected ImplicitActivationPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static ImplicitActivationPolicyValue 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()); } }
5,141
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/LifespanPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/LifespanPolicyValue:1.0 // /***/ public class LifespanPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static LifespanPolicyValue [] values_ = new LifespanPolicyValue[2]; private int value_; public final static int _TRANSIENT = 0; public final static LifespanPolicyValue TRANSIENT = new LifespanPolicyValue(_TRANSIENT); public final static int _PERSISTENT = 1; public final static LifespanPolicyValue PERSISTENT = new LifespanPolicyValue(_PERSISTENT); protected LifespanPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static LifespanPolicyValue 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()); } }
5,142
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicy.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0 // /***/ public interface RequestProcessingPolicy extends RequestProcessingPolicyOperations, org.omg.CORBA.Policy { }
5,143
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantLocatorPOA.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // This class is provided only for backward compatibility. // public abstract class ServantLocatorPOA extends org.omg.PortableServer.Servant implements ServantLocator { public ServantLocator _this() { return this; } public ServantLocator _this(org.omg.CORBA.ORB orb) { return this; } public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId) { throw new org.omg.CORBA.NO_IMPLEMENT(); } // // Implementation of org.omg.CORBA.Object methods // public boolean _is_a(String repository_id) { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public boolean _is_equivalent(org.omg.CORBA.Object rhs) { return equals(rhs); } public boolean _non_existent() { return false; } public int _hash(int maximum) { // // Calculate a local hash value // return hashCode() % (maximum + 1); } public org.omg.CORBA.Object _duplicate() { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public void _release() { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } /** * @deprecated Deprecated by CORBA 2.3. */ public org.omg.CORBA.InterfaceDef _get_interface() { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Object _get_interface_def() { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Request _request(String operation) { throw new org.omg.CORBA.NO_IMPLEMENT( "DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result) { throw new org.omg.CORBA.NO_IMPLEMENT( "DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList excepts, org.omg.CORBA.ContextList contexts) { throw new org.omg.CORBA.NO_IMPLEMENT( "DII operation not supported by local object", 0x4f4d0000 | 4, // MinorDIINotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Policy _get_policy(int policy_type) { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.Object _set_policy_override( org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add) { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } public org.omg.CORBA.DomainManager[] _get_domain_managers() { throw new org.omg.CORBA.NO_IMPLEMENT( "operation not supported by local object", 0x4f4d0000 | 3, // MinorNotSupportedByLocalObject org.omg.CORBA.CompletionStatus.COMPLETED_NO); } }
5,144
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantLocator.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantLocator:2.3 // /***/ public interface ServantLocator extends ServantLocatorOperations, ServantManager { }
5,145
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManagerOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManager:2.3 // /***/ public interface POAManagerOperations { // // IDL:omg.org/PortableServer/POAManager/activate:1.0 // /***/ void activate() throws org.omg.PortableServer.POAManagerPackage.AdapterInactive; // // IDL:omg.org/PortableServer/POAManager/hold_requests:1.0 // /***/ void hold_requests(boolean wait_for_completion) throws org.omg.PortableServer.POAManagerPackage.AdapterInactive; // // IDL:omg.org/PortableServer/POAManager/discard_requests:1.0 // /***/ void discard_requests(boolean wait_for_completion) throws org.omg.PortableServer.POAManagerPackage.AdapterInactive; // // IDL:omg.org/PortableServer/POAManager/deactivate:1.0 // /***/ void deactivate(boolean etherealize_objects, boolean wait_for_completion) throws org.omg.PortableServer.POAManagerPackage.AdapterInactive; // // IDL:omg.org/PortableServer/POAManager/get_state:1.0 // /***/ org.omg.PortableServer.POAManagerPackage.State get_state(); // // IDL:omg.org/PortableServer/POAManager/get_id:1.0 // /***/ String get_id(); }
5,146
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ObjectIdHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ObjectId:1.0 // public class ObjectIdHelper { public static void insert(org.omg.CORBA.Any any, byte[] val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static byte[] extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "ObjectId", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet))); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ObjectId:1.0"; } public static byte[] read(org.omg.CORBA.portable.InputStream in) { byte[] _ob_v; int len0 = in.read_ulong(); _ob_v = new byte[len0]; in.read_octet_array(_ob_v, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, byte[] val) { int len0 = val.length; out.write_ulong(len0); out.write_octet_array(val, 0, len0); } }
5,147
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ThreadPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ThreadPolicyValue:1.0 // /***/ public class ThreadPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static ThreadPolicyValue [] values_ = new ThreadPolicyValue[2]; private int value_; public final static int _ORB_CTRL_MODEL = 0; public final static ThreadPolicyValue ORB_CTRL_MODEL = new ThreadPolicyValue(_ORB_CTRL_MODEL); public final static int _SINGLE_THREAD_MODEL = 1; public final static ThreadPolicyValue SINGLE_THREAD_MODEL = new ThreadPolicyValue(_SINGLE_THREAD_MODEL); protected ThreadPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static ThreadPolicyValue 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()); } }
5,148
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID:1.0 // /***/ public interface IMPLICIT_ACTIVATION_POLICY_ID { int value = (int)(20L); }
5,149
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdAssignmentPolicyHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdAssignmentPolicy:1.0 // public class IdAssignmentPolicyHelper { public static void insert(org.omg.CORBA.Any any, IdAssignmentPolicy val) { any.insert_Object(val, type()); } public static IdAssignmentPolicy 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(), "IdAssignmentPolicy"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/IdAssignmentPolicy:1.0"; } public static IdAssignmentPolicy read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, IdAssignmentPolicy val) { throw new org.omg.CORBA.MARSHAL(); } public static IdAssignmentPolicy narrow(org.omg.CORBA.Object val) { try { return (IdAssignmentPolicy)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,150
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ThreadPolicy.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ThreadPolicy:1.0 // /***/ public interface ThreadPolicy extends ThreadPolicyOperations, org.omg.CORBA.Policy { }
5,151
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdAssignmentPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdAssignmentPolicyValue:1.0 // /***/ public class IdAssignmentPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static IdAssignmentPolicyValue [] values_ = new IdAssignmentPolicyValue[2]; private int value_; public final static int _USER_ID = 0; public final static IdAssignmentPolicyValue USER_ID = new IdAssignmentPolicyValue(_USER_ID); public final static int _SYSTEM_ID = 1; public final static IdAssignmentPolicyValue SYSTEM_ID = new IdAssignmentPolicyValue(_SYSTEM_ID); protected IdAssignmentPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static IdAssignmentPolicyValue 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()); } }
5,152
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdAssignmentPolicyHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdAssignmentPolicy:1.0 // final public class IdAssignmentPolicyHolder implements org.omg.CORBA.portable.Streamable { public IdAssignmentPolicy value; public IdAssignmentPolicyHolder() { } public IdAssignmentPolicyHolder(IdAssignmentPolicy initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = IdAssignmentPolicyHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { IdAssignmentPolicyHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return IdAssignmentPolicyHelper.type(); } }
5,153
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ObjectIdHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ObjectId:1.0 // final public class ObjectIdHolder implements org.omg.CORBA.portable.Streamable { public byte[] value; public ObjectIdHolder() { } public ObjectIdHolder(byte[] initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ObjectIdHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ObjectIdHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ObjectIdHelper.type(); } }
5,154
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/SERVANT_RETENTION_POLICY_ID:1.0 // /***/ public interface SERVANT_RETENTION_POLICY_ID { int value = (int)(21L); }
5,155
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManagerHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManager:2.3 // final public class POAManagerHolder implements org.omg.CORBA.portable.Streamable { public POAManager value; public POAManagerHolder() { } public POAManagerHolder(POAManager initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = POAManagerHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { POAManagerHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return POAManagerHelper.type(); } }
5,156
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicyValueHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicyValue:1.0 // final public class RequestProcessingPolicyValueHolder implements org.omg.CORBA.portable.Streamable { public RequestProcessingPolicyValue value; public RequestProcessingPolicyValueHolder() { } public RequestProcessingPolicyValueHolder(RequestProcessingPolicyValue initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = RequestProcessingPolicyValueHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { RequestProcessingPolicyValueHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return RequestProcessingPolicyValueHelper.type(); } }
5,157
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/LifespanPolicyHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/LifespanPolicy:1.0 // public class LifespanPolicyHelper { public static void insert(org.omg.CORBA.Any any, LifespanPolicy val) { any.insert_Object(val, type()); } public static LifespanPolicy 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(), "LifespanPolicy"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/LifespanPolicy:1.0"; } public static LifespanPolicy read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, LifespanPolicy val) { throw new org.omg.CORBA.MARSHAL(); } public static LifespanPolicy narrow(org.omg.CORBA.Object val) { try { return (LifespanPolicy)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,158
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantRetentionPolicyValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantRetentionPolicyValue:1.0 // final public class ServantRetentionPolicyValueHelper { public static void insert(org.omg.CORBA.Any any, ServantRetentionPolicyValue val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ServantRetentionPolicyValue extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); String[] members = new String[2]; members[0] = "RETAIN"; members[1] = "NON_RETAIN"; typeCode_ = orb.create_enum_tc(id(), "ServantRetentionPolicyValue", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ServantRetentionPolicyValue:1.0"; } public static ServantRetentionPolicyValue read(org.omg.CORBA.portable.InputStream in) { ServantRetentionPolicyValue _ob_v; _ob_v = ServantRetentionPolicyValue.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ServantRetentionPolicyValue val) { out.write_ulong(val.value()); } }
5,159
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdUniquenessPolicy.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdUniquenessPolicy:1.0 // /***/ public interface IdUniquenessPolicy extends IdUniquenessPolicyOperations, org.omg.CORBA.Policy { }
5,160
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/Current.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/Current:2.3 // /***/ public interface Current extends CurrentOperations, org.omg.CORBA.Current { }
5,161
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManager.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManager:2.3 // /***/ public interface POAManager extends POAManagerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { }
5,162
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/LifespanPolicyHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/LifespanPolicy:1.0 // final public class LifespanPolicyHolder implements org.omg.CORBA.portable.Streamable { public LifespanPolicy value; public LifespanPolicyHolder() { } public LifespanPolicyHolder(LifespanPolicy initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LifespanPolicyHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LifespanPolicyHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LifespanPolicyHelper.type(); } }
5,163
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantRetentionPolicyValueHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantRetentionPolicyValue:1.0 // final public class ServantRetentionPolicyValueHolder implements org.omg.CORBA.portable.Streamable { public ServantRetentionPolicyValue value; public ServantRetentionPolicyValueHolder() { } public ServantRetentionPolicyValueHolder(ServantRetentionPolicyValue initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ServantRetentionPolicyValueHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ServantRetentionPolicyValueHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ServantRetentionPolicyValueHelper.type(); } }
5,164
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicyValue:1.0 // /***/ public class RequestProcessingPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static RequestProcessingPolicyValue [] values_ = new RequestProcessingPolicyValue[3]; private int value_; public final static int _USE_ACTIVE_OBJECT_MAP_ONLY = 0; public final static RequestProcessingPolicyValue USE_ACTIVE_OBJECT_MAP_ONLY = new RequestProcessingPolicyValue(_USE_ACTIVE_OBJECT_MAP_ONLY); public final static int _USE_DEFAULT_SERVANT = 1; public final static RequestProcessingPolicyValue USE_DEFAULT_SERVANT = new RequestProcessingPolicyValue(_USE_DEFAULT_SERVANT); public final static int _USE_SERVANT_MANAGER = 2; public final static RequestProcessingPolicyValue USE_SERVANT_MANAGER = new RequestProcessingPolicyValue(_USE_SERVANT_MANAGER); protected RequestProcessingPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static RequestProcessingPolicyValue 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()); } }
5,165
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManagerHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManager:2.3 // public class POAManagerHelper { public static void insert(org.omg.CORBA.Any any, POAManager val) { any.insert_Object(val, type()); } public static POAManager 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(), "POAManager"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/POAManager:2.3"; } public static POAManager read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, POAManager val) { throw new org.omg.CORBA.MARSHAL(); } public static POAManager narrow(org.omg.CORBA.Object val) { try { return (POAManager)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,166
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicyValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicyValue:1.0 // final public class RequestProcessingPolicyValueHelper { public static void insert(org.omg.CORBA.Any any, RequestProcessingPolicyValue val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static RequestProcessingPolicyValue extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); String[] members = new String[3]; members[0] = "USE_ACTIVE_OBJECT_MAP_ONLY"; members[1] = "USE_DEFAULT_SERVANT"; members[2] = "USE_SERVANT_MANAGER"; typeCode_ = orb.create_enum_tc(id(), "RequestProcessingPolicyValue", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/RequestProcessingPolicyValue:1.0"; } public static RequestProcessingPolicyValue read(org.omg.CORBA.portable.InputStream in) { RequestProcessingPolicyValue _ob_v; _ob_v = RequestProcessingPolicyValue.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, RequestProcessingPolicyValue val) { out.write_ulong(val.value()); } }
5,167
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/AdapterActivatorHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/AdapterActivator:2.3 // final public class AdapterActivatorHolder implements org.omg.CORBA.portable.Streamable { public AdapterActivator value; public AdapterActivatorHolder() { } public AdapterActivatorHolder(AdapterActivator initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = AdapterActivatorHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { AdapterActivatorHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return AdapterActivatorHelper.type(); } }
5,168
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/LIFESPAN_POLICY_ID.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/LIFESPAN_POLICY_ID:1.0 // /***/ public interface LIFESPAN_POLICY_ID { int value = (int)(17L); }
5,169
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ThreadPolicyOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ThreadPolicy:1.0 // /***/ public interface ThreadPolicyOperations extends org.omg.CORBA.PolicyOperations { // // IDL:omg.org/PortableServer/ThreadPolicy/value:1.0 // /***/ ThreadPolicyValue value(); }
5,170
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManagerFactoryOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManagerFactory:1.0 // /** * * A Factory for PortableServer::POAManager. * * @see PortableServer::POAManager * **/ public interface POAManagerFactoryOperations { // // IDL:omg.org/PortableServer/POAManagerFactory/create_POAManager:1.0 // /** * * Create a new POAManager. The configuration properties for this * POA manager will be held in "ooc.orb.poamanager.<name>." If the * name is the empty string then a POA manager with a unique name * will be created. The POAManager will be created with a single * IIOP Acceptor. * * @param id The POAManager id. * * @param policies The policy list for the POAManager. * * @return A POAManager. * * @exception org.omg.PortableServer.POAManagerFactoryPackage.ManagerAlreadyExists If a POAManager with the same * name already exists. * * @exception PolicyError If the supplied policy list contains * a conflict. * **/ POAManager create_POAManager(String id, org.omg.CORBA.Policy[] policies) throws org.omg.PortableServer.POAManagerFactoryPackage.ManagerAlreadyExists, org.omg.CORBA.PolicyError; // // IDL:omg.org/PortableServer/POAManagerFactory/list:1.0 // /** * * List all POA Managers. * * @return A sequence of POAManagers. * **/ POAManager[] list(); // // IDL:omg.org/PortableServer/POAManagerFactory/find:1.0 // /** * * Find a specific POA Manager. * * @param id The POAManager id. * * @return The POAManager given by id, or null if not found. * **/ POAManager find(String id); }
5,171
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantActivatorHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantActivator:2.3 // public class ServantActivatorHelper { public static void insert(org.omg.CORBA.Any any, ServantActivator val) { any.insert_Object(val, type()); } public static ServantActivator 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(), "ServantActivator"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ServantActivator:2.3"; } public static ServantActivator read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, ServantActivator val) { throw new org.omg.CORBA.MARSHAL(); } public static ServantActivator narrow(org.omg.CORBA.Object val) { try { return (ServantActivator)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } public static ServantActivator unchecked_narrow(org.omg.CORBA.Object val) { try { return (ServantActivator)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,172
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/DynamicImplementation.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; abstract public class DynamicImplementation extends Servant { abstract public void invoke(org.omg.CORBA.ServerRequest request); }
5,173
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ThreadPolicyValueHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ThreadPolicyValue:1.0 // final public class ThreadPolicyValueHolder implements org.omg.CORBA.portable.Streamable { public ThreadPolicyValue value; public ThreadPolicyValueHolder() { } public ThreadPolicyValueHolder(ThreadPolicyValue initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ThreadPolicyValueHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ThreadPolicyValueHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ThreadPolicyValueHelper.type(); } }
5,174
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdUniquenessPolicyOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdUniquenessPolicy:1.0 // /***/ public interface IdUniquenessPolicyOperations extends org.omg.CORBA.PolicyOperations { // // IDL:omg.org/PortableServer/IdUniquenessPolicy/value:1.0 // /***/ IdUniquenessPolicyValue value(); }
5,175
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicyHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0 // final public class RequestProcessingPolicyHolder implements org.omg.CORBA.portable.Streamable { public RequestProcessingPolicy value; public RequestProcessingPolicyHolder() { } public RequestProcessingPolicyHolder(RequestProcessingPolicy initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = RequestProcessingPolicyHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { RequestProcessingPolicyHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return RequestProcessingPolicyHelper.type(); } }
5,176
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ThreadPolicyValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ThreadPolicyValue:1.0 // public class ThreadPolicyValueHelper { public static void insert(org.omg.CORBA.Any any, ThreadPolicyValue val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ThreadPolicyValue extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); String[] members = new String[2]; members[0] = "ORB_CTRL_MODEL"; members[1] = "SINGLE_THREAD_MODEL"; typeCode_ = orb.create_enum_tc(id(), "ThreadPolicyValue", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ThreadPolicyValue:1.0"; } public static ThreadPolicyValue read(org.omg.CORBA.portable.InputStream in) { ThreadPolicyValue _ob_v; _ob_v = ThreadPolicyValue.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ThreadPolicyValue val) { out.write_ulong(val.value()); } }
5,177
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/RequestProcessingPolicyHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0 // public class RequestProcessingPolicyHelper { public static void insert(org.omg.CORBA.Any any, RequestProcessingPolicy val) { any.insert_Object(val, type()); } public static RequestProcessingPolicy 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(), "RequestProcessingPolicy"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0"; } public static RequestProcessingPolicy read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, RequestProcessingPolicy val) { throw new org.omg.CORBA.MARSHAL(); } public static RequestProcessingPolicy narrow(org.omg.CORBA.Object val) { try { return (RequestProcessingPolicy)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,178
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/REQUEST_PROCESSING_POLICY_ID:1.0 // /***/ public interface REQUEST_PROCESSING_POLICY_ID { int value = (int)(22L); }
5,179
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdUniquenessPolicyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdUniquenessPolicyValue:1.0 // /***/ public class IdUniquenessPolicyValue implements org.omg.CORBA.portable.IDLEntity { private static IdUniquenessPolicyValue [] values_ = new IdUniquenessPolicyValue[2]; private int value_; public final static int _UNIQUE_ID = 0; public final static IdUniquenessPolicyValue UNIQUE_ID = new IdUniquenessPolicyValue(_UNIQUE_ID); public final static int _MULTIPLE_ID = 1; public final static IdUniquenessPolicyValue MULTIPLE_ID = new IdUniquenessPolicyValue(_MULTIPLE_ID); protected IdUniquenessPolicyValue(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static IdUniquenessPolicyValue 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()); } }
5,180
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdAssignmentPolicyOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdAssignmentPolicy:1.0 // /***/ public interface IdAssignmentPolicyOperations extends org.omg.CORBA.PolicyOperations { // // IDL:omg.org/PortableServer/IdAssignmentPolicy/value:1.0 // /***/ IdAssignmentPolicyValue value(); }
5,181
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantActivatorHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantActivator:2.3 // final public class ServantActivatorHolder implements org.omg.CORBA.portable.Streamable { public ServantActivator value; public ServantActivatorHolder() { } public ServantActivatorHolder(ServantActivator initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ServantActivatorHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ServantActivatorHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ServantActivatorHelper.type(); } }
5,182
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/AdapterActivatorHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/AdapterActivator:2.3 // public class AdapterActivatorHelper { public static void insert(org.omg.CORBA.Any any, AdapterActivator val) { any.insert_Object(val, type()); } public static AdapterActivator 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(), "AdapterActivator"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/AdapterActivator:2.3"; } public static AdapterActivator read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, AdapterActivator val) { throw new org.omg.CORBA.MARSHAL(); } public static AdapterActivator narrow(org.omg.CORBA.Object val) { try { return (AdapterActivator)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,183
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ID_UNIQUENESS_POLICY_ID:1.0 // /***/ public interface ID_UNIQUENESS_POLICY_ID { int value = (int)(18L); }
5,184
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/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.PortableServer; // // IDL:omg.org/PortableServer/Current:2.3 // /***/ public interface CurrentOperations extends org.omg.CORBA.CurrentOperations { // // IDL:omg.org/PortableServer/Current/get_POA:1.0 // /***/ POA get_POA() throws org.omg.PortableServer.CurrentPackage.NoContext; // // IDL:omg.org/PortableServer/Current/get_object_id:1.0 // /***/ byte[] get_object_id() throws org.omg.PortableServer.CurrentPackage.NoContext; // // IDL:omg.org/PortableServer/Current/get_reference:1.0 // /***/ org.omg.CORBA.Object get_reference() throws org.omg.PortableServer.CurrentPackage.NoContext; // // IDL:omg.org/PortableServer/Current/get_servant:1.0 // /***/ Servant get_servant() throws org.omg.PortableServer.CurrentPackage.NoContext; }
5,185
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ForwardRequestHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ForwardRequest:1.0 // final public class ForwardRequestHolder implements org.omg.CORBA.portable.Streamable { public ForwardRequest value; public ForwardRequestHolder() { } public ForwardRequestHolder(ForwardRequest initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ForwardRequestHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ForwardRequestHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ForwardRequestHelper.type(); } }
5,186
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdUniquenessPolicyValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdUniquenessPolicyValue:1.0 // public class IdUniquenessPolicyValueHelper { public static void insert(org.omg.CORBA.Any any, IdUniquenessPolicyValue val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static IdUniquenessPolicyValue extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); String[] members = new String[2]; members[0] = "UNIQUE_ID"; members[1] = "MULTIPLE_ID"; typeCode_ = orb.create_enum_tc(id(), "IdUniquenessPolicyValue", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/IdUniquenessPolicyValue:1.0"; } public static IdUniquenessPolicyValue read(org.omg.CORBA.portable.InputStream in) { IdUniquenessPolicyValue _ob_v; _ob_v = IdUniquenessPolicyValue.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, IdUniquenessPolicyValue val) { out.write_ulong(val.value()); } }
5,187
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdUniquenessPolicyValueHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdUniquenessPolicyValue:1.0 // final public class IdUniquenessPolicyValueHolder implements org.omg.CORBA.portable.Streamable { public IdUniquenessPolicyValue value; public IdUniquenessPolicyValueHolder() { } public IdUniquenessPolicyValueHolder(IdUniquenessPolicyValue initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = IdUniquenessPolicyValueHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { IdUniquenessPolicyValueHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return IdUniquenessPolicyValueHelper.type(); } }
5,188
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ForwardRequestHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ForwardRequest:1.0 // public class ForwardRequestHelper { public static void insert(org.omg.CORBA.Any any, ForwardRequest val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ForwardRequest extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[1]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "forward_reference"; members[0].type = orb.create_interface_tc("IDL:omg.org/CORBA/Object:1.0", "Object"); typeCode_ = orb.create_exception_tc(id(), "ForwardRequest", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ForwardRequest:1.0"; } public static ForwardRequest read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); ForwardRequest _ob_v = new ForwardRequest(); _ob_v.forward_reference = in.read_Object(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ForwardRequest val) { out.write_string(id()); out.write_Object(val.forward_reference); } }
5,189
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ForwardRequest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ForwardRequest:1.0 // /***/ final public class ForwardRequest extends org.omg.CORBA.UserException { private static final String _ob_id = "IDL:omg.org/PortableServer/ForwardRequest:1.0"; public ForwardRequest() { super(_ob_id); } public ForwardRequest(org.omg.CORBA.Object forward_reference) { super(_ob_id); this.forward_reference = forward_reference; } public ForwardRequest(String _reason, org.omg.CORBA.Object forward_reference) { super(_ob_id + " " + _reason); this.forward_reference = forward_reference; } public org.omg.CORBA.Object forward_reference; }
5,190
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POA.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POA:2.3 // /***/ public interface POA extends POAOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { }
5,191
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POA:2.3 // public class POAHelper { public static void insert(org.omg.CORBA.Any any, POA val) { any.insert_Object(val, type()); } public static POA 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(), "POA"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/POA:2.3"; } public static POA read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, POA val) { throw new org.omg.CORBA.MARSHAL(); } public static POA narrow(org.omg.CORBA.Object val) { try { return (POA)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,192
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantRetentionPolicyHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantRetentionPolicy:1.0 // final public class ServantRetentionPolicyHelper { public static void insert(org.omg.CORBA.Any any, ServantRetentionPolicy val) { any.insert_Object(val, type()); } public static ServantRetentionPolicy 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(), "ServantRetentionPolicy"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ServantRetentionPolicy:1.0"; } public static ServantRetentionPolicy read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, ServantRetentionPolicy val) { throw new org.omg.CORBA.MARSHAL(); } public static ServantRetentionPolicy narrow(org.omg.CORBA.Object val) { try { return (ServantRetentionPolicy)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,193
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ImplicitActivationPolicyValue:1.0 // public class ImplicitActivationPolicyValueHelper { public static void insert(org.omg.CORBA.Any any, ImplicitActivationPolicyValue val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ImplicitActivationPolicyValue extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); String[] members = new String[2]; members[0] = "IMPLICIT_ACTIVATION"; members[1] = "NO_IMPLICIT_ACTIVATION"; typeCode_ = orb.create_enum_tc(id(), "ImplicitActivationPolicyValue", members); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ImplicitActivationPolicyValue:1.0"; } public static ImplicitActivationPolicyValue read(org.omg.CORBA.portable.InputStream in) { ImplicitActivationPolicyValue _ob_v; _ob_v = ImplicitActivationPolicyValue.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ImplicitActivationPolicyValue val) { out.write_ulong(val.value()); } }
5,194
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/IdAssignmentPolicyValueHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/IdAssignmentPolicyValue:1.0 // final public class IdAssignmentPolicyValueHolder implements org.omg.CORBA.portable.Streamable { public IdAssignmentPolicyValue value; public IdAssignmentPolicyValueHolder() { } public IdAssignmentPolicyValueHolder(IdAssignmentPolicyValue initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = IdAssignmentPolicyValueHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { IdAssignmentPolicyValueHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return IdAssignmentPolicyValueHelper.type(); } }
5,195
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantLocatorHolder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantLocator:2.3 // final public class ServantLocatorHolder implements org.omg.CORBA.portable.Streamable { public ServantLocator value; public ServantLocatorHolder() { } public ServantLocatorHolder(ServantLocator initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ServantLocatorHelper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ServantLocatorHelper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ServantLocatorHelper.type(); } }
5,196
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ImplicitActivationPolicyOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ImplicitActivationPolicy:1.0 // /***/ public interface ImplicitActivationPolicyOperations extends org.omg.CORBA.PolicyOperations { // // IDL:omg.org/PortableServer/ImplicitActivationPolicy/value:1.0 // /***/ ImplicitActivationPolicyValue value(); }
5,197
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/POAManagerFactory.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/POAManagerFactory:1.0 // /** * * A Factory for PortableServer::POAManager. * * @see PortableServer::POAManager * **/ public interface POAManagerFactory extends POAManagerFactoryOperations, org.omg.CORBA.Object { }
5,198
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/PortableServer/ServantLocatorHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.PortableServer; // // IDL:omg.org/PortableServer/ServantLocator:2.3 // public class ServantLocatorHelper { public static void insert(org.omg.CORBA.Any any, ServantLocator val) { any.insert_Object(val, type()); } public static ServantLocator 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(), "ServantLocator"); } return typeCode_; } public static String id() { return "IDL:omg.org/PortableServer/ServantLocator:2.3"; } public static ServantLocator read(org.omg.CORBA.portable.InputStream in) { throw new org.omg.CORBA.MARSHAL(); } public static void write(org.omg.CORBA.portable.OutputStream out, ServantLocator val) { throw new org.omg.CORBA.MARSHAL(); } public static ServantLocator narrow(org.omg.CORBA.Object val) { try { return (ServantLocator)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } public static ServantLocator unchecked_narrow(org.omg.CORBA.Object val) { try { return (ServantLocator)val; } catch(ClassCastException ex) { } throw new org.omg.CORBA.BAD_PARAM(); } }
5,199