Issue 4750: Make CORBA_2_3.ORB methods available in CORBA.ORB (java-rtf) Source: Oracle (Mr. Ken Cavanaugh, nobody) Nature: Uncategorized Issue Severity: Summary: It would be much better for CORBA users if the methods are currently in org.omg.CORBA_2_3.ORB were available in the org.omg.CORBA.ORB class. The best approach seems to be simply to copy the method definitions into the ORB class. Resolution: Incorporate joint resolution changes and close issue Revised Text: In section 1.19.10, add the following to the pseudo interface ORB: After the list_initial_services declaration: void register_initial_reference( in ObjectId id, in Object obj ) raises (InvalidName) ; After the create_abstract_interface_tc declaration: TypeCode create_local_interface_tc( in RepositoryId id, in Identifier name ) ; After the typedef for ObjectIdList: ORBId id() ; In section 1.19.10, delete the paragraph that begins "All types defined in this chapter are either part of the CORBA or ...". All of the IDL level definitions are in the pseudo interface ORB, which has nothing to do with Java packages. In section 1.19.10, add the following to the Java abstract class org.omg.CORBA.ORB: After the list_initial_services method: public void register_initial_reference( String object_name, org.omg.CORBA.Object object ) throws org.omg.CORBA.ORBPackage.InvalidName { throw new org.omg.CORBA.NO_IMPLEMENT() ; } After the create_abstract_interface_tc method: public TypeCode create_local_interface_tc( String id, String name ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } Also, fix the implementation of the create_abstract_interface_tc method to throw new org.omg.CORBA.NO_IMPLEMENT (it was missing the new). At the beginning, add: public String id() { throw new org.omg.CORBA.NO_IMPLEMENT() ; } At the end, add: public org.omg.CORBA.Object get_value_def( String repid ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public org.omg.CORBA.portable.ValueFactory register_value_factory( String id, org.omg.CORBA.portable.ValueFactory factory ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public void unregister_value_factory( String id ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public org.omg.CORBA.portable.ValueFactory lookup_value_factory( String id ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public void set_delegate( java.lang.Object wrapper ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } In section 1.19.10, add the following Java definition to the very end: package org.omg.CORBA_2_5 ; public abstract class ORB extends org.omg.CORBA_2_3.ORB { public String id() { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public void register_initial_reference( String object_name, org.omg.CORBA.Object object ) throws org.omg.CORBA.ORBPackage.InvalidName { throw new org.omg.CORBA.NO_IMPLEMENT() ; } public TypeCode create_local_interface_tc( String id, String name ) { throw new org.omg.CORBA.NO_IMPLEMENT() ; } } Actions taken: December 14, 2001: received issue May 13, 2002: closed issue Discussion: End of Annotations:===== Date: Thu, 13 Dec 2001 15:47:59 -0800 (PST) From: Ken Cavanaugh Reply-To: Ken Cavanaugh Subject: New issue: Make CORBA_2_3.ORB methods available in CORBA.ORB To: issues@omg.org Cc: javartf@omg.org MIME-Version: 1.0 Content-MD5: /ssMD007z/PK6kiZJUL8Rg== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc Content-Type: TEXT/plain; charset=us-ascii X-UIDL: H/W!!FF!!!;KVd9<3_d9 It would be much better for CORBA users if the methods are currently in org.omg.CORBA_2_3.ORB were available in the org.omg.CORBA.ORB class. The best approach seems to be simply to copy the method definitions into the ORB class. Ken. Date: Tue, 18 Dec 2001 15:00:20 -0800 (PST) From: Ken Cavanaugh Reply-To: Ken Cavanaugh Subject: Joint resolution for issues 4741, 4549, 4750, 4748 To: java-rtf@omg.org MIME-Version: 1.0 Content-MD5: 8fpTAYJ3/E2Sjji2C7Oplg== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc Content-Type: TEXT/plain; charset=us-ascii X-UIDL: