Issue 1321: public static org.omg.CORBA.ValueDef get_value_def(); (obv-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: On p. 6-63 of orbos/98-01-18, the get_value_def() method is defined in the helper class as: public static org.omg.CORBA.ValueDef get_value_def(); Currently, there is no portable way to implement this method for all vendor ORB"s. One suggestion is to pass an ORB implementation instance as parameter: get_value_def(org.omg.CORBA.ORB orb); and then add a method to the ORB class such as: get_value_def(String idl_name); Thus a portable implementation could be public static org.omg.CORBA.ValueDef get_value_def(org.omg.CORBA.ORB orb) { return orb.get_value_def(id()); } Resolution: Revised Text: Actions taken: May 14, 1998: received issue July 30, 1998: closed issue Discussion: End of Annotations:===== Return-Path: Sender: "Lenny Phan" Date: Wed, 13 May 1998 18:36:47 -0700 From: Lenny Phan Organization: Visigenic Software, Inc. To: issues@omg.org, obv-rtf@omg.org Subject: get_value_def() On p. 6-63 of orbos/98-01-18, the get_value_def() method is defined in the helper class as: public static org.omg.CORBA.ValueDef get_value_def(); Currently, there is no portable way to implement this method for all vendor ORB's. One suggestion is to pass an ORB implementation instance as parameter: get_value_def(org.omg.CORBA.ORB orb); and then add a method to the ORB class such as: get_value_def(String idl_name); Thus a portable implementation could be public static org.omg.CORBA.ValueDef get_value_def(org.omg.CORBA.ORB orb) { return orb.get_value_def(id()); } Any suggestions or criticisms welcome. regards, Lenny -- Lenny Phan Tel: 650-286-2465 Inprise Corp. Fax: 650-286-2475 951 Mariner's Island Blvd. lphan@corp.inprise.com San Mateo, CA 94404 http://www.inprise.com