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/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/TransportAddressListHelper.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/TransportAddressListHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ abstract public class TransportAddressListHelper { private static String _id = "IDL:omg.org/CSIIOP/TransportAddressList:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CSIIOP.TransportAddress[] that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CSIIOP.TransportAddress[] extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CSIIOP.TransportAddressHelper.type (); __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.TransportAddressListHelper.id (), "TransportAddressList", __typeCode); } return __typeCode; } public static String id () { return _id; } public static org.omg.CSIIOP.TransportAddress[] read (org.omg.CORBA.portable.InputStream istream) { org.omg.CSIIOP.TransportAddress value[] = null; int _len0 = istream.read_long (); value = new org.omg.CSIIOP.TransportAddress[_len0]; for (int _o1 = 0;_o1 < value.length; ++_o1) value[_o1] = org.omg.CSIIOP.TransportAddressHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSIIOP.TransportAddress[] value) { ostream.write_long (value.length); for (int _i0 = 0;_i0 < value.length; ++_i0) org.omg.CSIIOP.TransportAddressHelper.write (ostream, value[_i0]); } }
3,900
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/Confidentiality.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/Confidentiality.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface Confidentiality { public static final short value = (short)(4); }
3,901
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/TransportAddressHolder.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/TransportAddressHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public final class TransportAddressHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CSIIOP.TransportAddress value = null; public TransportAddressHolder () { } public TransportAddressHolder (org.omg.CSIIOP.TransportAddress initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.TransportAddressHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CSIIOP.TransportAddressHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CSIIOP.TransportAddressHelper.type (); } }
3,902
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/SECIOP_SEC_TRANSHolder.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/SECIOP_SEC_TRANSHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public final class SECIOP_SEC_TRANSHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CSIIOP.SECIOP_SEC_TRANS value = null; public SECIOP_SEC_TRANSHolder () { } public SECIOP_SEC_TRANSHolder (org.omg.CSIIOP.SECIOP_SEC_TRANS initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.type (); } }
3,903
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/IdentityAssertion.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/IdentityAssertion.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface IdentityAssertion { public static final short value = (short)(1024); }
3,904
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/SECIOP_SEC_TRANSHelper.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/SECIOP_SEC_TRANSHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ abstract public class SECIOP_SEC_TRANSHelper { private static String _id = "IDL:omg.org/CSIIOP/SECIOP_SEC_TRANS:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CSIIOP.SECIOP_SEC_TRANS that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CSIIOP.SECIOP_SEC_TRANS extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [5]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_ushort); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.AssociationOptionsHelper.id (), "AssociationOptions", _tcOf_members0); _members0[0] = new org.omg.CORBA.StructMember ( "target_supports", _tcOf_members0, null); _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_ushort); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.AssociationOptionsHelper.id (), "AssociationOptions", _tcOf_members0); _members0[1] = new org.omg.CORBA.StructMember ( "target_requires", _tcOf_members0, null); _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_octet); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSI.OIDHelper.id (), "OID", _tcOf_members0); _members0[2] = new org.omg.CORBA.StructMember ( "mech_oid", _tcOf_members0, null); _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_octet); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSI.GSS_NT_ExportedNameHelper.id (), "GSS_NT_ExportedName", _tcOf_members0); _members0[3] = new org.omg.CORBA.StructMember ( "target_name", _tcOf_members0, null); _tcOf_members0 = org.omg.CSIIOP.TransportAddressHelper.type (); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.TransportAddressListHelper.id (), "TransportAddressList", _tcOf_members0); _members0[4] = new org.omg.CORBA.StructMember ( "addresses", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.omg.CSIIOP.SECIOP_SEC_TRANSHelper.id (), "SECIOP_SEC_TRANS", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CSIIOP.SECIOP_SEC_TRANS read (org.omg.CORBA.portable.InputStream istream) { org.omg.CSIIOP.SECIOP_SEC_TRANS value = new org.omg.CSIIOP.SECIOP_SEC_TRANS (); value.target_supports = istream.read_ushort (); value.target_requires = istream.read_ushort (); value.mech_oid = org.omg.CSI.OIDHelper.read (istream); value.target_name = org.omg.CSI.GSS_NT_ExportedNameHelper.read (istream); value.addresses = org.omg.CSIIOP.TransportAddressListHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSIIOP.SECIOP_SEC_TRANS value) { ostream.write_ushort (value.target_supports); ostream.write_ushort (value.target_requires); org.omg.CSI.OIDHelper.write (ostream, value.mech_oid); org.omg.CSI.GSS_NT_ExportedNameHelper.write (ostream, value.target_name); org.omg.CSIIOP.TransportAddressListHelper.write (ostream, value.addresses); } }
3,905
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/TLS_SEC_TRANSHolder.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/TLS_SEC_TRANSHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public final class TLS_SEC_TRANSHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CSIIOP.TLS_SEC_TRANS value = null; public TLS_SEC_TRANSHolder () { } public TLS_SEC_TRANSHolder (org.omg.CSIIOP.TLS_SEC_TRANS initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.TLS_SEC_TRANSHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CSIIOP.TLS_SEC_TRANSHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CSIIOP.TLS_SEC_TRANSHelper.type (); } }
3,906
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/ServiceConfigurationListHelper.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/ServiceConfigurationListHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ abstract public class ServiceConfigurationListHelper { private static String _id = "IDL:omg.org/CSIIOP/ServiceConfigurationList:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CSIIOP.ServiceConfiguration[] that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CSIIOP.ServiceConfiguration[] extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CSIIOP.ServiceConfigurationHelper.type (); __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.ServiceConfigurationListHelper.id (), "ServiceConfigurationList", __typeCode); } return __typeCode; } public static String id () { return _id; } public static org.omg.CSIIOP.ServiceConfiguration[] read (org.omg.CORBA.portable.InputStream istream) { org.omg.CSIIOP.ServiceConfiguration value[] = null; int _len0 = istream.read_long (); value = new org.omg.CSIIOP.ServiceConfiguration[_len0]; for (int _o1 = 0;_o1 < value.length; ++_o1) value[_o1] = org.omg.CSIIOP.ServiceConfigurationHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSIIOP.ServiceConfiguration[] value) { ostream.write_long (value.length); for (int _i0 = 0;_i0 < value.length; ++_i0) org.omg.CSIIOP.ServiceConfigurationHelper.write (ostream, value[_i0]); } }
3,907
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/TAG_TLS_SEC_TRANS.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/TAG_TLS_SEC_TRANS.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface TAG_TLS_SEC_TRANS { // tagged component for configuring TLS/SSL as a CSIv2 transport mechanism public static final int value = (int)(36L); }
3,908
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/CompositeDelegation.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/CompositeDelegation.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface CompositeDelegation { public static final short value = (short)(512); }
3,909
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/CompoundSecMechanismsHelper.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/CompoundSecMechanismsHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ abstract public class CompoundSecMechanismsHelper { private static String _id = "IDL:omg.org/CSIIOP/CompoundSecMechanisms:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CSIIOP.CompoundSecMech[] that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CSIIOP.CompoundSecMech[] extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CSIIOP.CompoundSecMechHelper.type (); __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.CompoundSecMechanismsHelper.id (), "CompoundSecMechanisms", __typeCode); } return __typeCode; } public static String id () { return _id; } public static org.omg.CSIIOP.CompoundSecMech[] read (org.omg.CORBA.portable.InputStream istream) { org.omg.CSIIOP.CompoundSecMech value[] = null; int _len0 = istream.read_long (); value = new org.omg.CSIIOP.CompoundSecMech[_len0]; for (int _o1 = 0;_o1 < value.length; ++_o1) value[_o1] = org.omg.CSIIOP.CompoundSecMechHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSIIOP.CompoundSecMech[] value) { ostream.write_long (value.length); for (int _i0 = 0;_i0 < value.length; ++_i0) org.omg.CSIIOP.CompoundSecMechHelper.write (ostream, value[_i0]); } }
3,910
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/NoProtection.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/NoProtection.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface NoProtection { public static final short value = (short)(1); }
3,911
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/EstablishTrustInTarget.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/EstablishTrustInTarget.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public interface EstablishTrustInTarget { public static final short value = (short)(32); }
3,912
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/CompoundSecMechanismsHolder.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/CompoundSecMechanismsHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public final class CompoundSecMechanismsHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CSIIOP.CompoundSecMech value[] = null; public CompoundSecMechanismsHolder () { } public CompoundSecMechanismsHolder (org.omg.CSIIOP.CompoundSecMech[] initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.CompoundSecMechanismsHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CSIIOP.CompoundSecMechanismsHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CSIIOP.CompoundSecMechanismsHelper.type (); } }
3,913
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/ServiceConfigurationListHolder.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/ServiceConfigurationListHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ public final class ServiceConfigurationListHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CSIIOP.ServiceConfiguration value[] = null; public ServiceConfigurationListHolder () { } public ServiceConfigurationListHolder (org.omg.CSIIOP.ServiceConfiguration[] initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CSIIOP.ServiceConfigurationListHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CSIIOP.ServiceConfigurationListHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CSIIOP.ServiceConfigurationListHelper.type (); } }
3,914
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CSIIOP/TLS_SEC_TRANSHelper.java
package org.omg.CSIIOP; /** * org/omg/CSIIOP/TLS_SEC_TRANSHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:59 AM PST */ abstract public class TLS_SEC_TRANSHelper { private static String _id = "IDL:omg.org/CSIIOP/TLS_SEC_TRANS:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CSIIOP.TLS_SEC_TRANS that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CSIIOP.TLS_SEC_TRANS extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [3]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_ushort); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.AssociationOptionsHelper.id (), "AssociationOptions", _tcOf_members0); _members0[0] = new org.omg.CORBA.StructMember ( "target_supports", _tcOf_members0, null); _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_ushort); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.AssociationOptionsHelper.id (), "AssociationOptions", _tcOf_members0); _members0[1] = new org.omg.CORBA.StructMember ( "target_requires", _tcOf_members0, null); _tcOf_members0 = org.omg.CSIIOP.TransportAddressHelper.type (); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CSIIOP.TransportAddressListHelper.id (), "TransportAddressList", _tcOf_members0); _members0[2] = new org.omg.CORBA.StructMember ( "addresses", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.omg.CSIIOP.TLS_SEC_TRANSHelper.id (), "TLS_SEC_TRANS", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CSIIOP.TLS_SEC_TRANS read (org.omg.CORBA.portable.InputStream istream) { org.omg.CSIIOP.TLS_SEC_TRANS value = new org.omg.CSIIOP.TLS_SEC_TRANS (); value.target_supports = istream.read_ushort (); value.target_requires = istream.read_ushort (); value.addresses = org.omg.CSIIOP.TransportAddressListHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSIIOP.TLS_SEC_TRANS value) { ostream.write_ushort (value.target_supports); ostream.write_ushort (value.target_requires); org.omg.CSIIOP.TransportAddressListHelper.write (ostream, value.addresses); } }
3,915
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TransactionPolicyComponentHolder.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TransactionPolicyComponentHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class TransactionPolicyComponentHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosTSInteroperation.TransactionPolicyComponent value = null; public TransactionPolicyComponentHolder () { } public TransactionPolicyComponentHolder (org.omg.CosTSInteroperation.TransactionPolicyComponent initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosTSInteroperation.TransactionPolicyComponentHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosTSInteroperation.TransactionPolicyComponentHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosTSInteroperation.TransactionPolicyComponentHelper.type (); } }
3,916
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TransactionPolicyComponentHelper.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TransactionPolicyComponentHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class TransactionPolicyComponentHelper { private static String _id = "IDL:omg.org/CosTSInteroperation/TransactionPolicyComponent:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosTSInteroperation.TransactionPolicyComponent that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosTSInteroperation.TransactionPolicyComponent extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_ushort); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosTransactions.TransactionPolicyValueHelper.id (), "TransactionPolicyValue", _tcOf_members0); _members0[0] = new org.omg.CORBA.StructMember ( "tpv", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.omg.CosTSInteroperation.TransactionPolicyComponentHelper.id (), "TransactionPolicyComponent", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosTSInteroperation.TransactionPolicyComponent read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTSInteroperation.TransactionPolicyComponent value = new org.omg.CosTSInteroperation.TransactionPolicyComponent (); value.tpv = istream.read_ushort (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosTSInteroperation.TransactionPolicyComponent value) { ostream.write_ushort (value.tpv); } }
3,917
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TAG_TRANSACTION_POLICY.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TAG_TRANSACTION_POLICY.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public interface TAG_TRANSACTION_POLICY { public static final int value = (int)(26L); }
3,918
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TAG_OTS_POLICY.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TAG_OTS_POLICY.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public interface TAG_OTS_POLICY { public static final int value = (int)(31L); }
3,919
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TransactionPolicyComponent.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TransactionPolicyComponent.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class TransactionPolicyComponent implements org.omg.CORBA.portable.IDLEntity { public short tpv = (short)0; public TransactionPolicyComponent () { } // ctor public TransactionPolicyComponent (short _tpv) { tpv = _tpv; } // ctor } // class TransactionPolicyComponent
3,920
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosTSInteroperation/TAG_INV_POLICY.java
package org.omg.CosTSInteroperation; /** * org/omg/CosTSInteroperation/TAG_INV_POLICY.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public interface TAG_INV_POLICY { public static final int value = (int)(32L); }
3,921
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingListHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingListHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class BindingListHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.Binding value[] = null; public BindingListHolder () { } public BindingListHolder (org.omg.CosNaming.Binding[] initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.BindingListHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.BindingListHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.BindingListHelper.type (); } }
3,922
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPOA.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextExtPOA.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public abstract class NamingContextExtPOA extends org.omg.PortableServer.Servant implements org.omg.CosNaming.NamingContextExtOperations, org.omg.CORBA.portable.InvokeHandler { // Constructors private static java.util.Hashtable _methods = new java.util.Hashtable (); static { _methods.put ("to_string", new java.lang.Integer (0)); _methods.put ("to_name", new java.lang.Integer (1)); _methods.put ("to_url", new java.lang.Integer (2)); _methods.put ("resolve_str", new java.lang.Integer (3)); _methods.put ("bind", new java.lang.Integer (4)); _methods.put ("bind_context", new java.lang.Integer (5)); _methods.put ("rebind", new java.lang.Integer (6)); _methods.put ("rebind_context", new java.lang.Integer (7)); _methods.put ("resolve", new java.lang.Integer (8)); _methods.put ("unbind", new java.lang.Integer (9)); _methods.put ("list", new java.lang.Integer (10)); _methods.put ("new_context", new java.lang.Integer (11)); _methods.put ("bind_new_context", new java.lang.Integer (12)); _methods.put ("destroy", new java.lang.Integer (13)); } public org.omg.CORBA.portable.OutputStream _invoke (String $method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler $rh) { org.omg.CORBA.portable.OutputStream out = null; java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); if (__method == null) throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); switch (__method.intValue ()) { /** * The to_string operation is the process of retrieving a stringified name * from a name object. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 0: // CosNaming/NamingContextExt/to_string { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); String $result = null; $result = this.to_string (n); out = $rh.createReply(); out.write_string ($result); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The to_name operation is the process of retrieving a name object * to a stringified name. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 1: // CosNaming/NamingContextExt/to_name { try { String sn = org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.read (in); org.omg.CosNaming.NameComponent $result[] = null; $result = this.to_name (sn); out = $rh.createReply(); org.omg.CosNaming.NameHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The to_url operation is the process of retrieving a url representation from a stringified name and * address. * * @param addr Address of the object <p> * * @param sn String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress Indicates that the Address is invalid. <p> */ case 2: // CosNaming/NamingContextExt/to_url { try { String addr = org.omg.CosNaming.NamingContextExtPackage.AddressHelper.read (in); String sn = org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.read (in); String $result = null; $result = this.to_url (addr, sn); out = $rh.createReply(); out.write_string ($result); } catch (org.omg.CosNaming.NamingContextExtPackage.InvalidAddress $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The resolve_str operation is the process of retrieving an object * bound to a stringified name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 3: // CosNaming/NamingContextExt/resolve_str { try { String n = org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.read (in); org.omg.CORBA.Object $result = null; $result = this.resolve_str (n); out = $rh.createReply(); org.omg.CORBA.ObjectHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * Creates a binding of a name and an object in the naming context. * Naming contexts that are bound using bind do not participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param obj The Object to bind with the given name<p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ case 4: // CosNaming/NamingContext/bind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object obj = org.omg.CORBA.ObjectHelper.read (in); this.bind (n, obj); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } break; } /** * Names an object that is a naming context. Naming contexts that * are bound using bind_context() participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to bind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ case 5: // CosNaming/NamingContext/bind_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext nc = org.omg.CosNaming.NamingContextHelper.read (in); this.bind_context (n, nc); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } break; } /** * Creates a binding of a name and an object in the naming context * even if the name is already bound in the context. Naming contexts * that are bound using rebind do not participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @parm obj The Object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 6: // CosNaming/NamingContext/rebind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object obj = org.omg.CORBA.ObjectHelper.read (in); this.rebind (n, obj); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * Creates a binding of a name and a naming context in the naming * context even if the name is already bound in the context. Naming * contexts that are bound using rebind_context() participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 7: // CosNaming/NamingContext/rebind_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext nc = org.omg.CosNaming.NamingContextHelper.read (in); this.rebind_context (n, nc); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The resolve operation is the process of retrieving an object * bound to a name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 8: // CosNaming/NamingContext/resolve { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object $result = null; $result = this.resolve (n); out = $rh.createReply(); org.omg.CORBA.ObjectHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The unbind operation removes a name binding from a context. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 9: // CosNaming/NamingContext/unbind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); this.unbind (n); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The list operation allows a client to iterate through a set of * bindings in a naming context. <p> * * The list operation returns at most the requested number of * bindings in BindingList bl. * <ul> * <li>If the naming context contains additional * bindings, the list operation returns a BindingIterator with the * additional bindings. * <li>If the naming context does not contain additional * bindings, the binding iterator is a nil object reference. * </ul> * * @param how_many the maximum number of bindings to return <p> * * @param bl the returned list of bindings <p> * * @param bi the returned binding iterator <p> */ case 10: // CosNaming/NamingContext/list { int how_many = in.read_ulong (); org.omg.CosNaming.BindingListHolder bl = new org.omg.CosNaming.BindingListHolder (); org.omg.CosNaming.BindingIteratorHolder bi = new org.omg.CosNaming.BindingIteratorHolder (); this.list (how_many, bl, bi); out = $rh.createReply(); org.omg.CosNaming.BindingListHelper.write (out, bl.value); org.omg.CosNaming.BindingIteratorHelper.write (out, bi.value); break; } /** * This operation returns a naming context implemented by the same * naming server as the context on which the operation was invoked. * The new context is not bound to any name. */ case 11: // CosNaming/NamingContext/new_context { org.omg.CosNaming.NamingContext $result = null; $result = this.new_context (); out = $rh.createReply(); org.omg.CosNaming.NamingContextHelper.write (out, $result); break; } /** * This operation creates a new context and binds it to the name * supplied as an argument. The newly-created context is implemented * by the same naming server as the context in which it was bound (that * is, the naming server that implements the context denoted by the * name argument excluding the last component). * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 12: // CosNaming/NamingContext/bind_new_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext $result = null; $result = this.bind_new_context (n); out = $rh.createReply(); org.omg.CosNaming.NamingContextHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The destroy operation deletes a naming context. If the naming * context contains bindings, the NotEmpty exception is raised. * * @exception org.omg.CosNaming.NamingContextPackage.NotEmpty Indicates that the Naming Context contains bindings. */ case 13: // CosNaming/NamingContext/destroy { try { this.destroy (); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.write (out, $ex); } break; } default: throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } return out; } // _invoke // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/NamingContextExt:1.0", "IDL:omg.org/CosNaming/NamingContext:1.0"}; public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId) { return (String[])__ids.clone (); } public NamingContextExt _this() { return NamingContextExtHelper.narrow( super._this_object()); } public NamingContextExt _this(org.omg.CORBA.ORB orb) { return NamingContextExtHelper.narrow( super._this_object(orb)); } } // class NamingContextExtPOA
3,923
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtOperations.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextExtOperations.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public interface NamingContextExtOperations extends org.omg.CosNaming.NamingContextOperations { /** * The to_string operation is the process of retrieving a stringified name * from a name object. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ String to_string (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The to_name operation is the process of retrieving a name object * to a stringified name. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ org.omg.CosNaming.NameComponent[] to_name (String sn) throws org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The to_url operation is the process of retrieving a url representation from a stringified name and * address. * * @param addr Address of the object <p> * * @param sn String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress Indicates that the Address is invalid. <p> */ String to_url (String addr, String sn) throws org.omg.CosNaming.NamingContextExtPackage.InvalidAddress, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The resolve_str operation is the process of retrieving an object * bound to a stringified name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ org.omg.CORBA.Object resolve_str (String n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; } // interface NamingContextExtOperations
3,924
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingIteratorOperations.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingIteratorOperations.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ public interface BindingIteratorOperations { /** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */ boolean next_one (org.omg.CosNaming.BindingHolder b); /** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings tro return <p> * * @param bl the returned bindings */ boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl); /** * This operation destroys the iterator. */ void destroy (); } // interface BindingIteratorOperations
3,925
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingType.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingType.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * Specifies whether the given binding is for a object (that is not a * naming context) or for a naming context. */ public class BindingType implements org.omg.CORBA.portable.IDLEntity { private int __value; private static int __size = 2; private static org.omg.CosNaming.BindingType[] __array = new org.omg.CosNaming.BindingType [__size]; public static final int _nobject = 0; public static final org.omg.CosNaming.BindingType nobject = new org.omg.CosNaming.BindingType(_nobject); public static final int _ncontext = 1; public static final org.omg.CosNaming.BindingType ncontext = new org.omg.CosNaming.BindingType(_ncontext); public int value () { return __value; } public static org.omg.CosNaming.BindingType from_int (int value) { if (value >= 0 && value < __size) return __array[value]; else throw new org.omg.CORBA.BAD_PARAM (); } protected BindingType (int value) { __value = value; __array[__value] = this; } } // class BindingType
3,926
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExt.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextExt.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public interface NamingContextExt extends NamingContextExtOperations, org.omg.CosNaming.NamingContext, org.omg.CORBA.portable.IDLEntity { } // interface NamingContextExt
3,927
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingListHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingListHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class BindingListHelper { private static String _id = "IDL:omg.org/CosNaming/BindingList:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.Binding[] that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.Binding[] extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CosNaming.BindingHelper.type (); __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.BindingListHelper.id (), "BindingList", __typeCode); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.Binding[] read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.Binding value[] = null; int _len0 = istream.read_long (); value = new org.omg.CosNaming.Binding[_len0]; for (int _o1 = 0;_o1 < value.length; ++_o1) value[_o1] = org.omg.CosNaming.BindingHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.Binding[] value) { ostream.write_long (value.length); for (int _i0 = 0;_i0 < value.length; ++_i0) org.omg.CosNaming.BindingHelper.write (ostream, value[_i0]); } }
3,928
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/_NamingContextStub.java
package org.omg.CosNaming; /** * org/omg/CosNaming/_NamingContextStub.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public class _NamingContextStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CosNaming.NamingContext { /** * Creates a binding of a name and an object in the naming context. * Naming contexts that are bound using bind do not participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param obj The Object to bind with the given name<p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ public void bind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CORBA.ObjectHelper.write ($out, obj); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { bind (n, obj ); } finally { _releaseReply ($in); } } // bind /** * Names an object that is a naming context. Naming contexts that * are bound using bind_context() participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to bind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ public void bind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind_context", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CosNaming.NamingContextHelper.write ($out, nc); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { bind_context (n, nc ); } finally { _releaseReply ($in); } } // bind_context /** * Creates a binding of a name and an object in the naming context * even if the name is already bound in the context. Naming contexts * that are bound using rebind do not participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @parm obj The Object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void rebind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("rebind", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CORBA.ObjectHelper.write ($out, obj); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { rebind (n, obj ); } finally { _releaseReply ($in); } } // rebind /** * Creates a binding of a name and a naming context in the naming * context even if the name is already bound in the context. Naming * contexts that are bound using rebind_context() participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void rebind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("rebind_context", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CosNaming.NamingContextHelper.write ($out, nc); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { rebind_context (n, nc ); } finally { _releaseReply ($in); } } // rebind_context /** * The resolve operation is the process of retrieving an object * bound to a name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CORBA.Object resolve (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("resolve", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); org.omg.CORBA.Object $result = org.omg.CORBA.ObjectHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return resolve (n ); } finally { _releaseReply ($in); } } // resolve /** * The unbind operation removes a name binding from a context. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void unbind (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("unbind", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { unbind (n ); } finally { _releaseReply ($in); } } // unbind /** * The list operation allows a client to iterate through a set of * bindings in a naming context. <p> * * The list operation returns at most the requested number of * bindings in BindingList bl. * <ul> * <li>If the naming context contains additional * bindings, the list operation returns a BindingIterator with the * additional bindings. * <li>If the naming context does not contain additional * bindings, the binding iterator is a nil object reference. * </ul> * * @param how_many the maximum number of bindings to return <p> * * @param bl the returned list of bindings <p> * * @param bi the returned binding iterator <p> */ public void list (int how_many, org.omg.CosNaming.BindingListHolder bl, org.omg.CosNaming.BindingIteratorHolder bi) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("list", true); $out.write_ulong (how_many); $in = _invoke ($out); bl.value = org.omg.CosNaming.BindingListHelper.read ($in); bi.value = org.omg.CosNaming.BindingIteratorHelper.read ($in); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { list (how_many, bl, bi ); } finally { _releaseReply ($in); } } // list /** * This operation returns a naming context implemented by the same * naming server as the context on which the operation was invoked. * The new context is not bound to any name. */ public org.omg.CosNaming.NamingContext new_context () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("new_context", true); $in = _invoke ($out); org.omg.CosNaming.NamingContext $result = org.omg.CosNaming.NamingContextHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return new_context ( ); } finally { _releaseReply ($in); } } // new_context /** * This operation creates a new context and binds it to the name * supplied as an argument. The newly-created context is implemented * by the same naming server as the context in which it was bound (that * is, the naming server that implements the context denoted by the * name argument excluding the last component). * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CosNaming.NamingContext bind_new_context (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.AlreadyBound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind_new_context", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); org.omg.CosNaming.NamingContext $result = org.omg.CosNaming.NamingContextHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return bind_new_context (n ); } finally { _releaseReply ($in); } } // bind_new_context /** * The destroy operation deletes a naming context. If the naming * context contains bindings, the NotEmpty exception is raised. * * @exception org.omg.CosNaming.NamingContextPackage.NotEmpty Indicates that the Naming Context contains bindings. */ public void destroy () throws org.omg.CosNaming.NamingContextPackage.NotEmpty { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { destroy ( ); } finally { _releaseReply ($in); } } // destroy // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/NamingContext:1.0"}; public String[] _ids () { return (String[])__ids.clone (); } private void readObject (java.io.ObjectInputStream s) throws java.io.IOException { String str = s.readUTF (); String[] args = null; java.util.Properties props = null; org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); } private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException { String[] args = null; java.util.Properties props = null; String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); s.writeUTF (str); } } // class _NamingContextStub
3,929
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContext.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContext.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public interface NamingContext extends NamingContextOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { } // interface NamingContext
3,930
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NameComponentHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NameComponentHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class NameComponentHelper { private static String _id = "IDL:omg.org/CosNaming/NameComponent:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NameComponent that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NameComponent extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.IstringHelper.id (), "Istring", _tcOf_members0); _members0[0] = new org.omg.CORBA.StructMember ( "id", _tcOf_members0, null); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.IstringHelper.id (), "Istring", _tcOf_members0); _members0[1] = new org.omg.CORBA.StructMember ( "kind", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.omg.CosNaming.NameComponentHelper.id (), "NameComponent", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NameComponent read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NameComponent value = new org.omg.CosNaming.NameComponent (); value.id = istream.read_string (); value.kind = istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NameComponent value) { ostream.write_string (value.id); ostream.write_string (value.kind); } }
3,931
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextExtHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public final class NamingContextExtHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextExt value = null; public NamingContextExtHolder () { } public NamingContextExtHolder (org.omg.CosNaming.NamingContextExt initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextExtHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextExtHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextExtHelper.type (); } }
3,932
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class BindingHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.Binding value = null; public BindingHolder () { } public BindingHolder (org.omg.CosNaming.Binding initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.BindingHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.BindingHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.BindingHelper.type (); } }
3,933
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class BindingHelper { private static String _id = "IDL:omg.org/CosNaming/Binding:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.Binding that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.Binding extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CosNaming.NameComponentHelper.type (); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", _tcOf_members0); _members0[0] = new org.omg.CORBA.StructMember ( "binding_name", _tcOf_members0, null); _tcOf_members0 = org.omg.CosNaming.BindingTypeHelper.type (); _members0[1] = new org.omg.CORBA.StructMember ( "binding_type", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.omg.CosNaming.BindingHelper.id (), "Binding", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.Binding read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.Binding value = new org.omg.CosNaming.Binding (); value.binding_name = org.omg.CosNaming.NameHelper.read (istream); value.binding_type = org.omg.CosNaming.BindingTypeHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.Binding value) { org.omg.CosNaming.NameHelper.write (ostream, value.binding_name); org.omg.CosNaming.BindingTypeHelper.write (ostream, value.binding_type); } }
3,934
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextExtHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ abstract public class NamingContextExtHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContextExt:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextExt that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextExt extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CosNaming.NamingContextExtHelper.id (), "NamingContextExt"); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextExt read (org.omg.CORBA.portable.InputStream istream) { return narrow (istream.read_Object (_NamingContextExtStub.class)); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextExt value) { ostream.write_Object ((org.omg.CORBA.Object) value); } public static org.omg.CosNaming.NamingContextExt narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.NamingContextExt) return (org.omg.CosNaming.NamingContextExt)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._NamingContextExtStub stub = new org.omg.CosNaming._NamingContextExtStub (); stub._set_delegate(delegate); return stub; } } public static org.omg.CosNaming.NamingContextExt unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.NamingContextExt) return (org.omg.CosNaming.NamingContextExt)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._NamingContextExtStub stub = new org.omg.CosNaming._NamingContextExtStub (); stub._set_delegate(delegate); return stub; } } }
3,935
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NameComponentHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NameComponentHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class NameComponentHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NameComponent value = null; public NameComponentHolder () { } public NameComponentHolder (org.omg.CosNaming.NameComponent initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NameComponentHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NameComponentHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NameComponentHelper.type (); } }
3,936
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/_BindingIteratorStub.java
package org.omg.CosNaming; /** * org/omg/CosNaming/_BindingIteratorStub.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ public class _BindingIteratorStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CosNaming.BindingIterator { /** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */ public boolean next_one (org.omg.CosNaming.BindingHolder b) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_one", true); $in = _invoke ($out); boolean $result = $in.read_boolean (); b.value = org.omg.CosNaming.BindingHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return next_one (b ); } finally { _releaseReply ($in); } } // next_one /** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings tro return <p> * * @param bl the returned bindings */ public boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("next_n", true); $out.write_ulong (how_many); $in = _invoke ($out); boolean $result = $in.read_boolean (); bl.value = org.omg.CosNaming.BindingListHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return next_n (how_many, bl ); } finally { _releaseReply ($in); } } // next_n /** * This operation destroys the iterator. */ public void destroy () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { destroy ( ); } finally { _releaseReply ($in); } } // destroy // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/BindingIterator:1.0"}; public String[] _ids () { return (String[])__ids.clone (); } private void readObject (java.io.ObjectInputStream s) throws java.io.IOException { String str = s.readUTF (); String[] args = null; java.util.Properties props = null; org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); } private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException { String[] args = null; java.util.Properties props = null; String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); s.writeUTF (str); } } // class _BindingIteratorStub
3,937
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingIteratorHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingIteratorHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ public final class BindingIteratorHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.BindingIterator value = null; public BindingIteratorHolder () { } public BindingIteratorHolder (org.omg.CosNaming.BindingIterator initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.BindingIteratorHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.BindingIteratorHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.BindingIteratorHelper.type (); } }
3,938
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingIteratorHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingIteratorHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ abstract public class BindingIteratorHelper { private static String _id = "IDL:omg.org/CosNaming/BindingIterator:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.BindingIterator that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.BindingIterator extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CosNaming.BindingIteratorHelper.id (), "BindingIterator"); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.BindingIterator read (org.omg.CORBA.portable.InputStream istream) { return narrow (istream.read_Object (_BindingIteratorStub.class)); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.BindingIterator value) { ostream.write_Object ((org.omg.CORBA.Object) value); } public static org.omg.CosNaming.BindingIterator narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.BindingIterator) return (org.omg.CosNaming.BindingIterator)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._BindingIteratorStub stub = new org.omg.CosNaming._BindingIteratorStub (); stub._set_delegate(delegate); return stub; } } public static org.omg.CosNaming.BindingIterator unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.BindingIterator) return (org.omg.CosNaming.BindingIterator)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._BindingIteratorStub stub = new org.omg.CosNaming._BindingIteratorStub (); stub._set_delegate(delegate); return stub; } } }
3,939
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPOA.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextPOA.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public abstract class NamingContextPOA extends org.omg.PortableServer.Servant implements org.omg.CosNaming.NamingContextOperations, org.omg.CORBA.portable.InvokeHandler { // Constructors private static java.util.Hashtable _methods = new java.util.Hashtable (); static { _methods.put ("bind", new java.lang.Integer (0)); _methods.put ("bind_context", new java.lang.Integer (1)); _methods.put ("rebind", new java.lang.Integer (2)); _methods.put ("rebind_context", new java.lang.Integer (3)); _methods.put ("resolve", new java.lang.Integer (4)); _methods.put ("unbind", new java.lang.Integer (5)); _methods.put ("list", new java.lang.Integer (6)); _methods.put ("new_context", new java.lang.Integer (7)); _methods.put ("bind_new_context", new java.lang.Integer (8)); _methods.put ("destroy", new java.lang.Integer (9)); } public org.omg.CORBA.portable.OutputStream _invoke (String $method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler $rh) { org.omg.CORBA.portable.OutputStream out = null; java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); if (__method == null) throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); switch (__method.intValue ()) { /** * Creates a binding of a name and an object in the naming context. * Naming contexts that are bound using bind do not participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param obj The Object to bind with the given name<p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ case 0: // CosNaming/NamingContext/bind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object obj = org.omg.CORBA.ObjectHelper.read (in); this.bind (n, obj); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } break; } /** * Names an object that is a naming context. Naming contexts that * are bound using bind_context() participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to bind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ case 1: // CosNaming/NamingContext/bind_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext nc = org.omg.CosNaming.NamingContextHelper.read (in); this.bind_context (n, nc); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } break; } /** * Creates a binding of a name and an object in the naming context * even if the name is already bound in the context. Naming contexts * that are bound using rebind do not participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @parm obj The Object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 2: // CosNaming/NamingContext/rebind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object obj = org.omg.CORBA.ObjectHelper.read (in); this.rebind (n, obj); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * Creates a binding of a name and a naming context in the naming * context even if the name is already bound in the context. Naming * contexts that are bound using rebind_context() participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 3: // CosNaming/NamingContext/rebind_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext nc = org.omg.CosNaming.NamingContextHelper.read (in); this.rebind_context (n, nc); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The resolve operation is the process of retrieving an object * bound to a name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 4: // CosNaming/NamingContext/resolve { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CORBA.Object $result = null; $result = this.resolve (n); out = $rh.createReply(); org.omg.CORBA.ObjectHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The unbind operation removes a name binding from a context. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 5: // CosNaming/NamingContext/unbind { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); this.unbind (n); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The list operation allows a client to iterate through a set of * bindings in a naming context. <p> * * The list operation returns at most the requested number of * bindings in BindingList bl. * <ul> * <li>If the naming context contains additional * bindings, the list operation returns a BindingIterator with the * additional bindings. * <li>If the naming context does not contain additional * bindings, the binding iterator is a nil object reference. * </ul> * * @param how_many the maximum number of bindings to return <p> * * @param bl the returned list of bindings <p> * * @param bi the returned binding iterator <p> */ case 6: // CosNaming/NamingContext/list { int how_many = in.read_ulong (); org.omg.CosNaming.BindingListHolder bl = new org.omg.CosNaming.BindingListHolder (); org.omg.CosNaming.BindingIteratorHolder bi = new org.omg.CosNaming.BindingIteratorHolder (); this.list (how_many, bl, bi); out = $rh.createReply(); org.omg.CosNaming.BindingListHelper.write (out, bl.value); org.omg.CosNaming.BindingIteratorHelper.write (out, bi.value); break; } /** * This operation returns a naming context implemented by the same * naming server as the context on which the operation was invoked. * The new context is not bound to any name. */ case 7: // CosNaming/NamingContext/new_context { org.omg.CosNaming.NamingContext $result = null; $result = this.new_context (); out = $rh.createReply(); org.omg.CosNaming.NamingContextHelper.write (out, $result); break; } /** * This operation creates a new context and binds it to the name * supplied as an argument. The newly-created context is implemented * by the same naming server as the context in which it was bound (that * is, the naming server that implements the context denoted by the * name argument excluding the last component). * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ case 8: // CosNaming/NamingContext/bind_new_context { try { org.omg.CosNaming.NameComponent n[] = org.omg.CosNaming.NameHelper.read (in); org.omg.CosNaming.NamingContext $result = null; $result = this.bind_new_context (n); out = $rh.createReply(); org.omg.CosNaming.NamingContextHelper.write (out, $result); } catch (org.omg.CosNaming.NamingContextPackage.NotFound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.CannotProceed $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (out, $ex); } catch (org.omg.CosNaming.NamingContextPackage.InvalidName $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (out, $ex); } break; } /** * The destroy operation deletes a naming context. If the naming * context contains bindings, the NotEmpty exception is raised. * * @exception org.omg.CosNaming.NamingContextPackage.NotEmpty Indicates that the Naming Context contains bindings. */ case 9: // CosNaming/NamingContext/destroy { try { this.destroy (); out = $rh.createReply(); } catch (org.omg.CosNaming.NamingContextPackage.NotEmpty $ex) { out = $rh.createExceptionReply (); org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.write (out, $ex); } break; } default: throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } return out; } // _invoke // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/NamingContext:1.0"}; public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId) { return (String[])__ids.clone (); } public NamingContext _this() { return NamingContextHelper.narrow( super._this_object()); } public NamingContext _this(org.omg.CORBA.ORB orb) { return NamingContextHelper.narrow( super._this_object(orb)); } } // class NamingContextPOA
3,940
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NameComponent.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NameComponent.java . Error reading Messages File. Error * reading Messages File. Thursday, January 14, 2010 1:08:58 AM PST */ public final class NameComponent implements org.omg.CORBA.portable.IDLEntity { private static final long serialVersionUID = -1052538183391762390L; public String id = null; public String kind = null; public NameComponent() { } public NameComponent(String _id, String _kind) { id = _id; kind = _kind; } @Override public String toString() { final String eid = escape(id); return ((!!!"".equals(eid)) && "".equals(kind)) ? eid : (eid + '.' + escape(kind)); } /** escape DOT, SLASH, and BACKSLASH as per CosNaming v1.4 section 2.4.2 */ private static String escape(String s) { if (s == null) return s; return s.replaceAll("([\\\\\\./])", "\\\\$1"); } }
3,941
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NameHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NameHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ // A name is a sequence of name components. abstract public class NameHelper { private static String _id = "IDL:omg.org/CosNaming/Name:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NameComponent[] that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NameComponent[] extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CosNaming.NameComponentHelper.type (); __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", __typeCode); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NameComponent[] read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NameComponent value[] = null; int _len0 = istream.read_long (); value = new org.omg.CosNaming.NameComponent[_len0]; for (int _o1 = 0;_o1 < value.length; ++_o1) value[_o1] = org.omg.CosNaming.NameComponentHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NameComponent[] value) { ostream.write_long (value.length); for (int _i0 = 0;_i0 < value.length; ++_i0) org.omg.CosNaming.NameComponentHelper.write (ostream, value[_i0]); } }
3,942
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/IstringHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/IstringHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class IstringHelper { private static String _id = "IDL:omg.org/CosNaming/Istring:1.0"; public static void insert (org.omg.CORBA.Any a, String that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static String extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.IstringHelper.id (), "Istring", __typeCode); } return __typeCode; } public static String id () { return _id; } public static String read (org.omg.CORBA.portable.InputStream istream) { String value = null; value = istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, String value) { ostream.write_string (value); } }
3,943
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NameHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NameHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ // A name is a sequence of name components. public final class NameHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NameComponent value[] = null; public NameHolder () { } public NameHolder (org.omg.CosNaming.NameComponent[] initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NameHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NameHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NameHelper.type (); } }
3,944
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/_NamingContextExtStub.java
package org.omg.CosNaming; /** * org/omg/CosNaming/_NamingContextExtStub.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context extension is an extension to naming context that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public class _NamingContextExtStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CosNaming.NamingContextExt { /** * The to_string operation is the process of retrieving a stringified name * from a name object. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public String to_string (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("to_string", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); String $result = org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return to_string (n ); } finally { _releaseReply ($in); } } // to_string /** * The to_name operation is the process of retrieving a name object * to a stringified name. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CosNaming.NameComponent[] to_name (String sn) throws org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("to_name", true); org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.write ($out, sn); $in = _invoke ($out); org.omg.CosNaming.NameComponent $result[] = org.omg.CosNaming.NameHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return to_name (sn ); } finally { _releaseReply ($in); } } // to_name /** * The to_url operation is the process of retrieving a url representation from a stringified name and * address. * * @param addr Address of the object <p> * * @param sn String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress Indicates that the Address is invalid. <p> */ public String to_url (String addr, String sn) throws org.omg.CosNaming.NamingContextExtPackage.InvalidAddress, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("to_url", true); org.omg.CosNaming.NamingContextExtPackage.AddressHelper.write ($out, addr); org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.write ($out, sn); $in = _invoke ($out); String $result = org.omg.CosNaming.NamingContextExtPackage.URLStringHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContextExt/InvalidAddress:1.0")) throw org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return to_url (addr, sn ); } finally { _releaseReply ($in); } } // to_url /** * The resolve_str operation is the process of retrieving an object * bound to a stringified name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n String Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CORBA.Object resolve_str (String n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("resolve_str", true); org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.write ($out, n); $in = _invoke ($out); org.omg.CORBA.Object $result = org.omg.CORBA.ObjectHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return resolve_str (n ); } finally { _releaseReply ($in); } } // resolve_str /** * Creates a binding of a name and an object in the naming context. * Naming contexts that are bound using bind do not participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param obj The Object to bind with the given name<p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ public void bind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CORBA.ObjectHelper.write ($out, obj); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { bind (n, obj ); } finally { _releaseReply ($in); } } // bind /** * Names an object that is a naming context. Naming contexts that * are bound using bind_context() participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to bind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ public void bind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind_context", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CosNaming.NamingContextHelper.write ($out, nc); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { bind_context (n, nc ); } finally { _releaseReply ($in); } } // bind_context /** * Creates a binding of a name and an object in the naming context * even if the name is already bound in the context. Naming contexts * that are bound using rebind do not participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @parm obj The Object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void rebind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("rebind", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CORBA.ObjectHelper.write ($out, obj); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { rebind (n, obj ); } finally { _releaseReply ($in); } } // rebind /** * Creates a binding of a name and a naming context in the naming * context even if the name is already bound in the context. Naming * contexts that are bound using rebind_context() participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void rebind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("rebind_context", true); org.omg.CosNaming.NameHelper.write ($out, n); org.omg.CosNaming.NamingContextHelper.write ($out, nc); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { rebind_context (n, nc ); } finally { _releaseReply ($in); } } // rebind_context /** * The resolve operation is the process of retrieving an object * bound to a name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CORBA.Object resolve (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("resolve", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); org.omg.CORBA.Object $result = org.omg.CORBA.ObjectHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return resolve (n ); } finally { _releaseReply ($in); } } // resolve /** * The unbind operation removes a name binding from a context. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public void unbind (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("unbind", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { unbind (n ); } finally { _releaseReply ($in); } } // unbind /** * The list operation allows a client to iterate through a set of * bindings in a naming context. <p> * * The list operation returns at most the requested number of * bindings in BindingList bl. * <ul> * <li>If the naming context contains additional * bindings, the list operation returns a BindingIterator with the * additional bindings. * <li>If the naming context does not contain additional * bindings, the binding iterator is a nil object reference. * </ul> * * @param how_many the maximum number of bindings to return <p> * * @param bl the returned list of bindings <p> * * @param bi the returned binding iterator <p> */ public void list (int how_many, org.omg.CosNaming.BindingListHolder bl, org.omg.CosNaming.BindingIteratorHolder bi) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("list", true); $out.write_ulong (how_many); $in = _invoke ($out); bl.value = org.omg.CosNaming.BindingListHelper.read ($in); bi.value = org.omg.CosNaming.BindingIteratorHelper.read ($in); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { list (how_many, bl, bi ); } finally { _releaseReply ($in); } } // list /** * This operation returns a naming context implemented by the same * naming server as the context on which the operation was invoked. * The new context is not bound to any name. */ public org.omg.CosNaming.NamingContext new_context () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("new_context", true); $in = _invoke ($out); org.omg.CosNaming.NamingContext $result = org.omg.CosNaming.NamingContextHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return new_context ( ); } finally { _releaseReply ($in); } } // new_context /** * This operation creates a new context and binds it to the name * supplied as an argument. The newly-created context is implemented * by the same naming server as the context in which it was bound (that * is, the naming server that implements the context denoted by the * name argument excluding the last component). * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ public org.omg.CosNaming.NamingContext bind_new_context (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.AlreadyBound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("bind_new_context", true); org.omg.CosNaming.NameHelper.write ($out, n); $in = _invoke ($out); org.omg.CosNaming.NamingContext $result = org.omg.CosNaming.NamingContextHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotFound:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0")) throw org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0")) throw org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read ($in); else if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0")) throw org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return bind_new_context (n ); } finally { _releaseReply ($in); } } // bind_new_context /** * The destroy operation deletes a naming context. If the naming * context contains bindings, the NotEmpty exception is raised. * * @exception org.omg.CosNaming.NamingContextPackage.NotEmpty Indicates that the Naming Context contains bindings. */ public void destroy () throws org.omg.CosNaming.NamingContextPackage.NotEmpty { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0")) throw org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { destroy ( ); } finally { _releaseReply ($in); } } // destroy // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/NamingContextExt:1.0", "IDL:omg.org/CosNaming/NamingContext:1.0"}; public String[] _ids () { return (String[])__ids.clone (); } private void readObject (java.io.ObjectInputStream s) throws java.io.IOException { String str = s.readUTF (); String[] args = null; java.util.Properties props = null; org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); _set_delegate (delegate); } private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException { String[] args = null; java.util.Properties props = null; String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); s.writeUTF (str); } } // class _NamingContextExtStub
3,945
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ abstract public class NamingContextHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContext that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContext extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CosNaming.NamingContextHelper.id (), "NamingContext"); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContext read (org.omg.CORBA.portable.InputStream istream) { return narrow (istream.read_Object (_NamingContextStub.class)); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContext value) { ostream.write_Object ((org.omg.CORBA.Object) value); } public static org.omg.CosNaming.NamingContext narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.NamingContext) return (org.omg.CosNaming.NamingContext)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._NamingContextStub stub = new org.omg.CosNaming._NamingContextStub (); stub._set_delegate(delegate); return stub; } } public static org.omg.CosNaming.NamingContext unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CosNaming.NamingContext) return (org.omg.CosNaming.NamingContext)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CosNaming._NamingContextStub stub = new org.omg.CosNaming._NamingContextStub (); stub._set_delegate(delegate); return stub; } } }
3,946
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingIterator.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingIterator.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ public interface BindingIterator extends BindingIteratorOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity { } // interface BindingIterator
3,947
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/Binding.java
package org.omg.CosNaming; /** * org/omg/CosNaming/Binding.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class Binding implements org.omg.CORBA.portable.IDLEntity { public org.omg.CosNaming.NameComponent binding_name[] = null; // name public org.omg.CosNaming.BindingType binding_type = null; public Binding () { } // ctor public Binding (org.omg.CosNaming.NameComponent[] _binding_name, org.omg.CosNaming.BindingType _binding_type) { binding_name = _binding_name; binding_type = _binding_type; } // ctor } // class Binding
3,948
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextOperations.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextOperations.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public interface NamingContextOperations { /** * Creates a binding of a name and an object in the naming context. * Naming contexts that are bound using bind do not participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param obj The Object to bind with the given name<p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ void bind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound; /** * Names an object that is a naming context. Naming contexts that * are bound using bind_context() participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to bind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> */ void bind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName, org.omg.CosNaming.NamingContextPackage.AlreadyBound; /** * Creates a binding of a name and an object in the naming context * even if the name is already bound in the context. Naming contexts * that are bound using rebind do not participate in name resolution * when compound names are passed to be resolved. * * @param n Name of the object <p> * * @parm obj The Object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ void rebind (org.omg.CosNaming.NameComponent[] n, org.omg.CORBA.Object obj) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * Creates a binding of a name and a naming context in the naming * context even if the name is already bound in the context. Naming * contexts that are bound using rebind_context() participate in name * resolution when compound names are passed to be resolved. * * @param n Name of the object <p> * * @param nc NamingContect object to rebind with the given name <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ void rebind_context (org.omg.CosNaming.NameComponent[] n, org.omg.CosNaming.NamingContext nc) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The resolve operation is the process of retrieving an object * bound to a name in a given context. The given name must exactly * match the bound name. The naming service does not return the type * of the object. Clients are responsible for "narrowing" the object * to the appropriate type. That is, clients typically cast the returned * object from Object to a more specialized interface. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ org.omg.CORBA.Object resolve (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The unbind operation removes a name binding from a context. * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ void unbind (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The list operation allows a client to iterate through a set of * bindings in a naming context. <p> * * The list operation returns at most the requested number of * bindings in BindingList bl. * <ul> * <li>If the naming context contains additional * bindings, the list operation returns a BindingIterator with the * additional bindings. * <li>If the naming context does not contain additional * bindings, the binding iterator is a nil object reference. * </ul> * * @param how_many the maximum number of bindings to return <p> * * @param bl the returned list of bindings <p> * * @param bi the returned binding iterator <p> */ void list (int how_many, org.omg.CosNaming.BindingListHolder bl, org.omg.CosNaming.BindingIteratorHolder bi); /** * This operation returns a naming context implemented by the same * naming server as the context on which the operation was invoked. * The new context is not bound to any name. */ org.omg.CosNaming.NamingContext new_context (); /** * This operation creates a new context and binds it to the name * supplied as an argument. The newly-created context is implemented * by the same naming server as the context in which it was bound (that * is, the naming server that implements the context denoted by the * name argument excluding the last component). * * @param n Name of the object <p> * * @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p> * * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound Indicates an object is already * bound to the specified name.<p> * * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed Indicates that the implementation has * given up for some reason. The client, however, may be able to * continue the operation at the returned naming context.<p> * * @exception org.omg.CosNaming.NamingContextPackage.InvalidName Indicates that the name is invalid. <p> */ org.omg.CosNaming.NamingContext bind_new_context (org.omg.CosNaming.NameComponent[] n) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.AlreadyBound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName; /** * The destroy operation deletes a naming context. If the naming * context contains bindings, the NotEmpty exception is raised. * * @exception org.omg.CosNaming.NamingContextPackage.NotEmpty Indicates that the Naming Context contains bindings. */ void destroy () throws org.omg.CosNaming.NamingContextPackage.NotEmpty; } // interface NamingContextOperations
3,949
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/NamingContextHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * A naming context is an object that contains a set of name bindings in * which each name is unique. Different names can be bound to an object * in the same or different contexts at the same time. <p> * * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS * Naming Specification.</a> */ public final class NamingContextHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContext value = null; public NamingContextHolder () { } public NamingContextHolder (org.omg.CosNaming.NamingContext initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextHelper.type (); } }
3,950
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingTypeHelper.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingTypeHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * Specifies whether the given binding is for a object (that is not a * naming context) or for a naming context. */ abstract public class BindingTypeHelper { private static String _id = "IDL:omg.org/CosNaming/BindingType:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.BindingType that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.BindingType extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CosNaming.BindingTypeHelper.id (), "BindingType", new String[] { "nobject", "ncontext"} ); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.BindingType read (org.omg.CORBA.portable.InputStream istream) { return org.omg.CosNaming.BindingType.from_int (istream.read_long ()); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.BindingType value) { ostream.write_long (value.value ()); } }
3,951
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingIteratorPOA.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingIteratorPOA.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <tt>list</tt> * method on the <tt>NamingContext</tt>. * @see org.omg.CosNaming.NamingContext#list */ public abstract class BindingIteratorPOA extends org.omg.PortableServer.Servant implements org.omg.CosNaming.BindingIteratorOperations, org.omg.CORBA.portable.InvokeHandler { // Constructors private static java.util.Hashtable _methods = new java.util.Hashtable (); static { _methods.put ("next_one", new java.lang.Integer (0)); _methods.put ("next_n", new java.lang.Integer (1)); _methods.put ("destroy", new java.lang.Integer (2)); } public org.omg.CORBA.portable.OutputStream _invoke (String $method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler $rh) { org.omg.CORBA.portable.OutputStream out = null; java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); if (__method == null) throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); switch (__method.intValue ()) { /** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */ case 0: // CosNaming/BindingIterator/next_one { org.omg.CosNaming.BindingHolder b = new org.omg.CosNaming.BindingHolder (); boolean $result = false; $result = this.next_one (b); out = $rh.createReply(); out.write_boolean ($result); org.omg.CosNaming.BindingHelper.write (out, b.value); break; } /** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings tro return <p> * * @param bl the returned bindings */ case 1: // CosNaming/BindingIterator/next_n { int how_many = in.read_ulong (); org.omg.CosNaming.BindingListHolder bl = new org.omg.CosNaming.BindingListHolder (); boolean $result = false; $result = this.next_n (how_many, bl); out = $rh.createReply(); out.write_boolean ($result); org.omg.CosNaming.BindingListHelper.write (out, bl.value); break; } /** * This operation destroys the iterator. */ case 2: // CosNaming/BindingIterator/destroy { this.destroy (); out = $rh.createReply(); break; } default: throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } return out; } // _invoke // Type-specific CORBA::Object operations private static String[] __ids = { "IDL:omg.org/CosNaming/BindingIterator:1.0"}; public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId) { return (String[])__ids.clone (); } public BindingIterator _this() { return BindingIteratorHelper.narrow( super._this_object()); } public BindingIterator _this(org.omg.CORBA.ORB orb) { return BindingIteratorHelper.narrow( super._this_object(orb)); } } // class BindingIteratorPOA
3,952
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/BindingTypeHolder.java
package org.omg.CosNaming; /** * org/omg/CosNaming/BindingTypeHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * Specifies whether the given binding is for a object (that is not a * naming context) or for a naming context. */ public final class BindingTypeHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.BindingType value = null; public BindingTypeHolder () { } public BindingTypeHolder (org.omg.CosNaming.BindingType initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.BindingTypeHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.BindingTypeHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.BindingTypeHelper.type (); } }
3,953
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class NotFoundHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotFound:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotFound that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.NotFound extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.type (); _members0[0] = new org.omg.CORBA.StructMember ( "why", _tcOf_members0, null); _tcOf_members0 = org.omg.CosNaming.NameComponentHelper.type (); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", _tcOf_members0); _members0[1] = new org.omg.CORBA.StructMember ( "rest_of_name", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.NotFoundHelper.id (), "NotFound", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.NotFound read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextPackage.NotFound value = new org.omg.CosNaming.NamingContextPackage.NotFound (); // read and discard the repository ID istream.read_string (); value.why = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.read (istream); value.rest_of_name = org.omg.CosNaming.NameHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotFound value) { // write the repository ID ostream.write_string (id ()); org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.write (ostream, value.why); org.omg.CosNaming.NameHelper.write (ostream, value.rest_of_name); } }
3,954
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class InvalidNameHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.InvalidName that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.InvalidName extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0]; org.omg.CORBA.TypeCode _tcOf_members0 = null; __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.id (), "InvalidName", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.InvalidName read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextPackage.InvalidName value = new org.omg.CosNaming.NamingContextPackage.InvalidName (); // read and discard the repository ID istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.InvalidName value) { // write the repository ID ostream.write_string (id ()); } }
3,955
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class InvalidNameHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.InvalidName value = null; public InvalidNameHolder () { } public InvalidNameHolder (org.omg.CosNaming.NamingContextPackage.InvalidName initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.InvalidNameHelper.type (); } }
3,956
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class NotFoundHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.NotFound value = null; public NotFoundHolder () { } public NotFoundHolder (org.omg.CosNaming.NamingContextPackage.NotFound initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.NotFoundHelper.type (); } }
3,957
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class CannotProceedHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.CannotProceed value = null; public CannotProceedHolder () { } public CannotProceedHolder (org.omg.CosNaming.NamingContextPackage.CannotProceed initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.type (); } }
3,958
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/InvalidName.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/InvalidName.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class InvalidName extends org.omg.CORBA.UserException { public InvalidName () { super(InvalidNameHelper.id()); } // ctor public InvalidName (String $reason) { super(InvalidNameHelper.id() + " " + $reason); } // ctor } // class InvalidName
3,959
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class CannotProceedHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.CannotProceed that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.CannotProceed extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2]; org.omg.CORBA.TypeCode _tcOf_members0 = null; _tcOf_members0 = org.omg.CosNaming.NamingContextHelper.type (); _members0[0] = new org.omg.CORBA.StructMember ( "cxt", _tcOf_members0, null); _tcOf_members0 = org.omg.CosNaming.NameComponentHelper.type (); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0); _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NameHelper.id (), "Name", _tcOf_members0); _members0[1] = new org.omg.CORBA.StructMember ( "rest_of_name", _tcOf_members0, null); __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.CannotProceedHelper.id (), "CannotProceed", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.CannotProceed read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextPackage.CannotProceed value = new org.omg.CosNaming.NamingContextPackage.CannotProceed (); // read and discard the repository ID istream.read_string (); value.cxt = org.omg.CosNaming.NamingContextHelper.read (istream); value.rest_of_name = org.omg.CosNaming.NameHelper.read (istream); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.CannotProceed value) { // write the repository ID ostream.write_string (id ()); org.omg.CosNaming.NamingContextHelper.write (ostream, value.cxt); org.omg.CosNaming.NameHelper.write (ostream, value.rest_of_name); } }
3,960
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class AlreadyBoundHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.AlreadyBound value = null; public AlreadyBoundHolder () { } public AlreadyBoundHolder (org.omg.CosNaming.NamingContextPackage.AlreadyBound initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.type (); } }
3,961
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFound.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFound.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class NotFound extends org.omg.CORBA.UserException { public org.omg.CosNaming.NamingContextPackage.NotFoundReason why = null; public org.omg.CosNaming.NameComponent rest_of_name[] = null; public NotFound () { super(NotFoundHelper.id()); } // ctor public NotFound (org.omg.CosNaming.NamingContextPackage.NotFoundReason _why, org.omg.CosNaming.NameComponent[] _rest_of_name) { super(NotFoundHelper.id()); why = _why; rest_of_name = _rest_of_name; } // ctor public NotFound (String $reason, org.omg.CosNaming.NamingContextPackage.NotFoundReason _why, org.omg.CosNaming.NameComponent[] _rest_of_name) { super(NotFoundHelper.id() + " " + $reason); why = _why; rest_of_name = _rest_of_name; } // ctor } // class NotFound
3,962
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class AlreadyBoundHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.AlreadyBound that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.AlreadyBound extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0]; org.omg.CORBA.TypeCode _tcOf_members0 = null; __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper.id (), "AlreadyBound", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.AlreadyBound read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextPackage.AlreadyBound value = new org.omg.CosNaming.NamingContextPackage.AlreadyBound (); // read and discard the repository ID istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.AlreadyBound value) { // write the repository ID ostream.write_string (id ()); } }
3,963
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFoundReason.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundReason.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * */ public class NotFoundReason implements org.omg.CORBA.portable.IDLEntity { private int __value; private static int __size = 3; private static org.omg.CosNaming.NamingContextPackage.NotFoundReason[] __array = new org.omg.CosNaming.NamingContextPackage.NotFoundReason [__size]; public static final int _missing_node = 0; public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason missing_node = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_missing_node); public static final int _not_context = 1; public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason not_context = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_not_context); public static final int _not_object = 2; public static final org.omg.CosNaming.NamingContextPackage.NotFoundReason not_object = new org.omg.CosNaming.NamingContextPackage.NotFoundReason(_not_object); public int value () { return __value; } public static org.omg.CosNaming.NamingContextPackage.NotFoundReason from_int (int value) { if (value >= 0 && value < __size) return __array[value]; else throw new org.omg.CORBA.BAD_PARAM (); } protected NotFoundReason (int value) { __value = value; __array[__value] = this; } } // class NotFoundReason
3,964
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/CannotProceed.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/CannotProceed.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class CannotProceed extends org.omg.CORBA.UserException { public org.omg.CosNaming.NamingContext cxt = null; public org.omg.CosNaming.NameComponent rest_of_name[] = null; public CannotProceed () { super(CannotProceedHelper.id()); } // ctor public CannotProceed (org.omg.CosNaming.NamingContext _cxt, org.omg.CosNaming.NameComponent[] _rest_of_name) { super(CannotProceedHelper.id()); cxt = _cxt; rest_of_name = _rest_of_name; } // ctor public CannotProceed (String $reason, org.omg.CosNaming.NamingContext _cxt, org.omg.CosNaming.NameComponent[] _rest_of_name) { super(CannotProceedHelper.id() + " " + $reason); cxt = _cxt; rest_of_name = _rest_of_name; } // ctor } // class CannotProceed
3,965
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotEmpty.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotEmpty.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class NotEmpty extends org.omg.CORBA.UserException { public NotEmpty () { super(NotEmptyHelper.id()); } // ctor public NotEmpty (String $reason) { super(NotEmptyHelper.id() + " " + $reason); } // ctor } // class NotEmpty
3,966
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class NotEmptyHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotEmpty that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.NotEmpty extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0]; org.omg.CORBA.TypeCode _tcOf_members0 = null; __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.id (), "NotEmpty", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.NotEmpty read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextPackage.NotEmpty value = new org.omg.CosNaming.NamingContextPackage.NotEmpty (); // read and discard the repository ID istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotEmpty value) { // write the repository ID ostream.write_string (id ()); } }
3,967
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/AlreadyBound.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class AlreadyBound extends org.omg.CORBA.UserException { public AlreadyBound () { super(AlreadyBoundHelper.id()); } // ctor public AlreadyBound (String $reason) { super(AlreadyBoundHelper.id() + " " + $reason); } // ctor } // class AlreadyBound
3,968
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class NotEmptyHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.NotEmpty value = null; public NotEmptyHolder () { } public NotEmptyHolder (org.omg.CosNaming.NamingContextPackage.NotEmpty initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.NotEmptyHelper.type (); } }
3,969
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * */ abstract public class NotFoundReasonHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextPackage.NotFoundReason that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextPackage.NotFoundReason extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.id (), "NotFoundReason", new String[] { "missing_node", "not_context", "not_object"} ); } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextPackage.NotFoundReason read (org.omg.CORBA.portable.InputStream istream) { return org.omg.CosNaming.NamingContextPackage.NotFoundReason.from_int (istream.read_long ()); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextPackage.NotFoundReason value) { ostream.write_long (value.value ()); } }
3,970
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java
package org.omg.CosNaming.NamingContextPackage; /** * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ /** * */ public final class NotFoundReasonHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextPackage.NotFoundReason value = null; public NotFoundReasonHolder () { } public NotFoundReasonHolder (org.omg.CosNaming.NamingContextPackage.NotFoundReason initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextPackage.NotFoundReasonHelper.type (); } }
3,971
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class InvalidAddress extends org.omg.CORBA.UserException { public InvalidAddress () { super(InvalidAddressHelper.id()); } // ctor public InvalidAddress (String $reason) { super(InvalidAddressHelper.id() + " " + $reason); } // ctor } // class InvalidAddress
3,972
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class InvalidAddressHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContextExt/InvalidAddress:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.CosNaming.NamingContextExtPackage.InvalidAddress that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.CosNaming.NamingContextExtPackage.InvalidAddress extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; private static boolean __active = false; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { synchronized (org.omg.CORBA.TypeCode.class) { if (__typeCode == null) { if (__active) { return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); } __active = true; org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0]; org.omg.CORBA.TypeCode _tcOf_members0 = null; __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.id (), "InvalidAddress", _members0); __active = false; } } } return __typeCode; } public static String id () { return _id; } public static org.omg.CosNaming.NamingContextExtPackage.InvalidAddress read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosNaming.NamingContextExtPackage.InvalidAddress value = new org.omg.CosNaming.NamingContextExtPackage.InvalidAddress (); // read and discard the repository ID istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CosNaming.NamingContextExtPackage.InvalidAddress value) { // write the repository ID ostream.write_string (id ()); } }
3,973
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class URLStringHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContextExt/URLString:1.0"; public static void insert (org.omg.CORBA.Any a, String that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static String extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NamingContextExtPackage.URLStringHelper.id (), "URLString", __typeCode); } return __typeCode; } public static String id () { return _id; } public static String read (org.omg.CORBA.portable.InputStream istream) { String value = null; value = istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, String value) { ostream.write_string (value); } }
3,974
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ public final class InvalidAddressHolder implements org.omg.CORBA.portable.Streamable { public org.omg.CosNaming.NamingContextExtPackage.InvalidAddress value = null; public InvalidAddressHolder () { } public InvalidAddressHolder (org.omg.CosNaming.NamingContextExtPackage.InvalidAddress initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper.type (); } }
3,975
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class StringNameHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContextExt/StringName:1.0"; public static void insert (org.omg.CORBA.Any a, String that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static String extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NamingContextExtPackage.StringNameHelper.id (), "StringName", __typeCode); } return __typeCode; } public static String id () { return _id; } public static String read (org.omg.CORBA.portable.InputStream istream) { String value = null; value = istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, String value) { ostream.write_string (value); } }
3,976
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/generated-sources/idl/org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java
package org.omg.CosNaming.NamingContextExtPackage; /** * org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java . * Error reading Messages File. * Error reading Messages File. * Thursday, January 14, 2010 1:08:58 AM PST */ abstract public class AddressHelper { private static String _id = "IDL:omg.org/CosNaming/NamingContextExt/Address:1.0"; public static void insert (org.omg.CORBA.Any a, String that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static String extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0); __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (org.omg.CosNaming.NamingContextExtPackage.AddressHelper.id (), "Address", __typeCode); } return __typeCode; } public static String id () { return _id; } public static String read (org.omg.CORBA.portable.InputStream istream) { String value = null; value = istream.read_string (); return value; } public static void write (org.omg.CORBA.portable.OutputStream ostream, String value) { ostream.write_string (value); } }
3,977
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReferenceAddr.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReferenceAddr:1.0 // /***/ public interface ReferenceAddr { short value = (short)(2L); }
3,978
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_0Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateRequestHeader_1_0:1.0 // final public class LocateRequestHeader_1_0Holder implements org.omg.CORBA.portable.Streamable { public LocateRequestHeader_1_0 value; public LocateRequestHeader_1_0Holder() { } public LocateRequestHeader_1_0Holder(LocateRequestHeader_1_0 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LocateRequestHeader_1_0Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LocateRequestHeader_1_0Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LocateRequestHeader_1_0Helper.type(); } }
3,979
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_0Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateRequestHeader_1_0:1.0 // final public class LocateRequestHeader_1_0Helper { public static void insert(org.omg.CORBA.Any any, LocateRequestHeader_1_0 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static LocateRequestHeader_1_0 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 = "request_id"; members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "object_key"; members[1].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet)); typeCode_ = orb.create_struct_tc(id(), "LocateRequestHeader_1_0", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/LocateRequestHeader_1_0:1.0"; } public static LocateRequestHeader_1_0 read(org.omg.CORBA.portable.InputStream in) { LocateRequestHeader_1_0 _ob_v = new LocateRequestHeader_1_0(); _ob_v.request_id = in.read_ulong(); int len0 = in.read_ulong(); _ob_v.object_key = new byte[len0]; in.read_octet_array(_ob_v.object_key, 0, len0); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, LocateRequestHeader_1_0 val) { out.write_ulong(val.request_id); int len0 = val.object_key.length; out.write_ulong(len0); out.write_octet_array(val.object_key, 0, len0); } }
3,980
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyStatusType_1_2.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReplyStatusType_1_2:1.0 // /***/ public class ReplyStatusType_1_2 implements org.omg.CORBA.portable.IDLEntity { private static ReplyStatusType_1_2 [] values_ = new ReplyStatusType_1_2[6]; private int value_; public final static int _NO_EXCEPTION = 0; public final static ReplyStatusType_1_2 NO_EXCEPTION = new ReplyStatusType_1_2(_NO_EXCEPTION); public final static int _USER_EXCEPTION = 1; public final static ReplyStatusType_1_2 USER_EXCEPTION = new ReplyStatusType_1_2(_USER_EXCEPTION); public final static int _SYSTEM_EXCEPTION = 2; public final static ReplyStatusType_1_2 SYSTEM_EXCEPTION = new ReplyStatusType_1_2(_SYSTEM_EXCEPTION); public final static int _LOCATION_FORWARD = 3; public final static ReplyStatusType_1_2 LOCATION_FORWARD = new ReplyStatusType_1_2(_LOCATION_FORWARD); public final static int _LOCATION_FORWARD_PERM = 4; public final static ReplyStatusType_1_2 LOCATION_FORWARD_PERM = new ReplyStatusType_1_2(_LOCATION_FORWARD_PERM); public final static int _NEEDS_ADDRESSING_MODE = 5; public final static ReplyStatusType_1_2 NEEDS_ADDRESSING_MODE = new ReplyStatusType_1_2(_NEEDS_ADDRESSING_MODE); protected ReplyStatusType_1_2(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static ReplyStatusType_1_2 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()); } }
3,981
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_0.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateRequestHeader_1_0:1.0 // /***/ final public class LocateRequestHeader_1_0 implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/GIOP/LocateRequestHeader_1_0:1.0"; public LocateRequestHeader_1_0() { } public LocateRequestHeader_1_0(int request_id, byte[] object_key) { this.request_id = request_id; this.object_key = object_key; } public int request_id; public byte[] object_key; }
3,982
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_0Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReplyHeader_1_0:1.0 // final public class ReplyHeader_1_0Helper { public static void insert(org.omg.CORBA.Any any, ReplyHeader_1_0 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ReplyHeader_1_0 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[3]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "service_context"; members[0].type = org.omg.IOP.ServiceContextListHelper.type(); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "request_id"; members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong); members[2] = new org.omg.CORBA.StructMember(); members[2].name = "reply_status"; members[2].type = ReplyStatusType_1_2Helper.type(); typeCode_ = orb.create_struct_tc(id(), "ReplyHeader_1_0", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/ReplyHeader_1_0:1.0"; } public static ReplyHeader_1_0 read(org.omg.CORBA.portable.InputStream in) { ReplyHeader_1_0 _ob_v = new ReplyHeader_1_0(); _ob_v.service_context = org.omg.IOP.ServiceContextListHelper.read(in); _ob_v.request_id = in.read_ulong(); _ob_v.reply_status = ReplyStatusType_1_2Helper.read(in); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ReplyHeader_1_0 val) { org.omg.IOP.ServiceContextListHelper.write(out, val.service_context); out.write_ulong(val.request_id); ReplyStatusType_1_2Helper.write(out, val.reply_status); } }
3,983
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_1Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/RequestHeader_1_1:1.0 // final public class RequestHeader_1_1Helper { public static void insert(org.omg.CORBA.Any any, RequestHeader_1_1 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static RequestHeader_1_1 extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[7]; members[0] = new org.omg.CORBA.StructMember(); members[0].name = "service_context"; members[0].type = org.omg.IOP.ServiceContextListHelper.type(); members[1] = new org.omg.CORBA.StructMember(); members[1].name = "request_id"; members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong); members[2] = new org.omg.CORBA.StructMember(); members[2].name = "response_expected"; members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean); members[3] = new org.omg.CORBA.StructMember(); members[3].name = "reserved"; members[3].type = orb.create_array_tc(3, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet)); members[4] = new org.omg.CORBA.StructMember(); members[4].name = "object_key"; members[4].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet)); members[5] = new org.omg.CORBA.StructMember(); members[5].name = "operation"; members[5].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string); members[6] = new org.omg.CORBA.StructMember(); members[6].name = "requesting_principal"; members[6].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_Principal); typeCode_ = orb.create_struct_tc(id(), "RequestHeader_1_1", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/RequestHeader_1_1:1.0"; } public static RequestHeader_1_1 read(org.omg.CORBA.portable.InputStream in) { RequestHeader_1_1 _ob_v = new RequestHeader_1_1(); _ob_v.service_context = org.omg.IOP.ServiceContextListHelper.read(in); _ob_v.request_id = in.read_ulong(); _ob_v.response_expected = in.read_boolean(); int len0 = 3; _ob_v.reserved = new byte[len0]; in.read_octet_array(_ob_v.reserved, 0, len0); int len1 = in.read_ulong(); _ob_v.object_key = new byte[len1]; in.read_octet_array(_ob_v.object_key, 0, len1); _ob_v.operation = in.read_string(); _ob_v.requesting_principal = in.read_Principal(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, RequestHeader_1_1 val) { org.omg.IOP.ServiceContextListHelper.write(out, val.service_context); out.write_ulong(val.request_id); out.write_boolean(val.response_expected); int len0 = val.reserved.length; if(len0 != 3) throw new org.omg.CORBA.MARSHAL(); out.write_octet_array(val.reserved, 0, len0); int len1 = val.object_key.length; out.write_ulong(len1); out.write_octet_array(val.object_key, 0, len1); out.write_string(val.operation); out.write_Principal(val.requesting_principal); } }
3,984
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/SystemExceptionReplyBody.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/SystemExceptionReplyBody:1.0 // /***/ final public class SystemExceptionReplyBody implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/GIOP/SystemExceptionReplyBody:1.0"; public SystemExceptionReplyBody() { } public SystemExceptionReplyBody(String exception_id, int minor_code_value, int completion_status) { this.exception_id = exception_id; this.minor_code_value = minor_code_value; this.completion_status = completion_status; } public String exception_id; public int minor_code_value; public int completion_status; }
3,985
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/AddressingDispositionHelper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/AddressingDisposition:1.0 // final public class AddressingDispositionHelper { public static void insert(org.omg.CORBA.Any any, short val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static short extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) return read(any.create_input_stream()); else throw new org.omg.CORBA.BAD_OPERATION(); } private static org.omg.CORBA.TypeCode typeCode_; public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_alias_tc(id(), "AddressingDisposition", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short)); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/AddressingDisposition:1.0"; } public static short read(org.omg.CORBA.portable.InputStream in) { short _ob_v; _ob_v = in.read_short(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, short val) { out.write_short(val); } }
3,986
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyStatusType_1_2Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReplyStatusType_1_2:1.0 // final public class ReplyStatusType_1_2Holder implements org.omg.CORBA.portable.Streamable { public ReplyStatusType_1_2 value; public ReplyStatusType_1_2Holder() { } public ReplyStatusType_1_2Holder(ReplyStatusType_1_2 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ReplyStatusType_1_2Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ReplyStatusType_1_2Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ReplyStatusType_1_2Helper.type(); } }
3,987
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/KeyAddr.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/KeyAddr:1.0 // /***/ public interface KeyAddr { short value = (short)(0L); }
3,988
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyStatusType_1_2Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReplyStatusType_1_2:1.0 // final public class ReplyStatusType_1_2Helper { public static void insert(org.omg.CORBA.Any any, ReplyStatusType_1_2 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static ReplyStatusType_1_2 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[6]; members[0] = "NO_EXCEPTION"; members[1] = "USER_EXCEPTION"; members[2] = "SYSTEM_EXCEPTION"; members[3] = "LOCATION_FORWARD"; members[4] = "LOCATION_FORWARD_PERM"; members[5] = "NEEDS_ADDRESSING_MODE"; typeCode_ = orb.create_enum_tc(id(), "ReplyStatusType_1_2", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/ReplyStatusType_1_2:1.0"; } public static ReplyStatusType_1_2 read(org.omg.CORBA.portable.InputStream in) { ReplyStatusType_1_2 _ob_v; _ob_v = ReplyStatusType_1_2.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, ReplyStatusType_1_2 val) { out.write_ulong(val.value()); } }
3,989
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/IORAddressingInfo.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/IORAddressingInfo:1.0 // /***/ final public class IORAddressingInfo implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/GIOP/IORAddressingInfo:1.0"; public IORAddressingInfo() { } public IORAddressingInfo(int selected_profile_index, org.omg.IOP.IOR ior) { this.selected_profile_index = selected_profile_index; this.ior = ior; } public int selected_profile_index; public org.omg.IOP.IOR ior; }
3,990
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_0Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/ReplyHeader_1_0:1.0 // final public class ReplyHeader_1_0Holder implements org.omg.CORBA.portable.Streamable { public ReplyHeader_1_0 value; public ReplyHeader_1_0Holder() { } public ReplyHeader_1_0Holder(ReplyHeader_1_0 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = ReplyHeader_1_0Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { ReplyHeader_1_0Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return ReplyHeader_1_0Helper.type(); } }
3,991
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_1Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/RequestHeader_1_1:1.0 // final public class RequestHeader_1_1Holder implements org.omg.CORBA.portable.Streamable { public RequestHeader_1_1 value; public RequestHeader_1_1Holder() { } public RequestHeader_1_1Holder(RequestHeader_1_1 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = RequestHeader_1_1Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { RequestHeader_1_1Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return RequestHeader_1_1Helper.type(); } }
3,992
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_2.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/RequestHeader_1_2:1.0 // /***/ final public class RequestHeader_1_2 implements org.omg.CORBA.portable.IDLEntity { private static final String _ob_id = "IDL:omg.org/GIOP/RequestHeader_1_2:1.0"; public RequestHeader_1_2() { } public RequestHeader_1_2(int request_id, byte response_flags, byte[] reserved, TargetAddress target, String operation, org.omg.IOP.ServiceContext[] service_context) { this.request_id = request_id; this.response_flags = response_flags; this.reserved = reserved; this.target = target; this.operation = operation; this.service_context = service_context; } public int request_id; public byte response_flags; public byte[] reserved; public TargetAddress target; public String operation; public org.omg.IOP.ServiceContext[] service_context; }
3,993
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_2Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateRequestHeader_1_2:1.0 // final public class LocateRequestHeader_1_2Holder implements org.omg.CORBA.portable.Streamable { public LocateRequestHeader_1_2 value; public LocateRequestHeader_1_2Holder() { } public LocateRequestHeader_1_2Holder(LocateRequestHeader_1_2 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LocateRequestHeader_1_2Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LocateRequestHeader_1_2Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LocateRequestHeader_1_2Helper.type(); } }
3,994
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_1Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/MessageHeader_1_1:1.0 // final public class MessageHeader_1_1Holder implements org.omg.CORBA.portable.Streamable { public MessageHeader_1_1 value; public MessageHeader_1_1Holder() { } public MessageHeader_1_1Holder(MessageHeader_1_1 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = MessageHeader_1_1Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { MessageHeader_1_1Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return MessageHeader_1_1Helper.type(); } }
3,995
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/FragmentHeader_1_2Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/FragmentHeader_1_2:1.0 // final public class FragmentHeader_1_2Helper { public static void insert(org.omg.CORBA.Any any, FragmentHeader_1_2 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static FragmentHeader_1_2 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 = "request_id"; members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong); typeCode_ = orb.create_struct_tc(id(), "FragmentHeader_1_2", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/FragmentHeader_1_2:1.0"; } public static FragmentHeader_1_2 read(org.omg.CORBA.portable.InputStream in) { FragmentHeader_1_2 _ob_v = new FragmentHeader_1_2(); _ob_v.request_id = in.read_ulong(); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, FragmentHeader_1_2 val) { out.write_ulong(val.request_id); } }
3,996
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateStatusType_1_2Helper.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateStatusType_1_2:1.0 // final public class LocateStatusType_1_2Helper { public static void insert(org.omg.CORBA.Any any, LocateStatusType_1_2 val) { org.omg.CORBA.portable.OutputStream out = any.create_output_stream(); write(out, val); any.read_value(out.create_input_stream(), type()); } public static LocateStatusType_1_2 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[6]; members[0] = "UNKNOWN_OBJECT"; members[1] = "OBJECT_HERE"; members[2] = "OBJECT_FORWARD"; members[3] = "OBJECT_FORWARD_PERM"; members[4] = "LOC_SYSTEM_EXCEPTION"; members[5] = "LOC_NEEDS_ADDRESSING_MODE"; typeCode_ = orb.create_enum_tc(id(), "LocateStatusType_1_2", members); } return typeCode_; } public static String id() { return "IDL:omg.org/GIOP/LocateStatusType_1_2:1.0"; } public static LocateStatusType_1_2 read(org.omg.CORBA.portable.InputStream in) { LocateStatusType_1_2 _ob_v; _ob_v = LocateStatusType_1_2.from_int(in.read_ulong()); return _ob_v; } public static void write(org.omg.CORBA.portable.OutputStream out, LocateStatusType_1_2 val) { out.write_ulong(val.value()); } }
3,997
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateStatusType_1_2.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateStatusType_1_2:1.0 // /***/ public class LocateStatusType_1_2 implements org.omg.CORBA.portable.IDLEntity { private static LocateStatusType_1_2 [] values_ = new LocateStatusType_1_2[6]; private int value_; public final static int _UNKNOWN_OBJECT = 0; public final static LocateStatusType_1_2 UNKNOWN_OBJECT = new LocateStatusType_1_2(_UNKNOWN_OBJECT); public final static int _OBJECT_HERE = 1; public final static LocateStatusType_1_2 OBJECT_HERE = new LocateStatusType_1_2(_OBJECT_HERE); public final static int _OBJECT_FORWARD = 2; public final static LocateStatusType_1_2 OBJECT_FORWARD = new LocateStatusType_1_2(_OBJECT_FORWARD); public final static int _OBJECT_FORWARD_PERM = 3; public final static LocateStatusType_1_2 OBJECT_FORWARD_PERM = new LocateStatusType_1_2(_OBJECT_FORWARD_PERM); public final static int _LOC_SYSTEM_EXCEPTION = 4; public final static LocateStatusType_1_2 LOC_SYSTEM_EXCEPTION = new LocateStatusType_1_2(_LOC_SYSTEM_EXCEPTION); public final static int _LOC_NEEDS_ADDRESSING_MODE = 5; public final static LocateStatusType_1_2 LOC_NEEDS_ADDRESSING_MODE = new LocateStatusType_1_2(_LOC_NEEDS_ADDRESSING_MODE); protected LocateStatusType_1_2(int value) { values_[value] = this; value_ = value; } public int value() { return value_; } public static LocateStatusType_1_2 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()); } }
3,998
0
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg
Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateStatusType_1_2Holder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.omg.GIOP; // // IDL:omg.org/GIOP/LocateStatusType_1_2:1.0 // final public class LocateStatusType_1_2Holder implements org.omg.CORBA.portable.Streamable { public LocateStatusType_1_2 value; public LocateStatusType_1_2Holder() { } public LocateStatusType_1_2Holder(LocateStatusType_1_2 initial) { value = initial; } public void _read(org.omg.CORBA.portable.InputStream in) { value = LocateStatusType_1_2Helper.read(in); } public void _write(org.omg.CORBA.portable.OutputStream out) { LocateStatusType_1_2Helper.write(out, value); } public org.omg.CORBA.TypeCode _type() { return LocateStatusType_1_2Helper.type(); } }
3,999