345 stream.println (" String[] args = null;"); |
345 stream.println (" String[] args = null;"); |
346 stream.println (" java.util.Properties props = null;"); |
346 stream.println (" java.util.Properties props = null;"); |
347 stream.println (" org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);"); |
347 stream.println (" org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);"); |
348 stream.println (" try {"); |
348 stream.println (" try {"); |
349 stream.println (" org.omg.CORBA.Object obj = orb.string_to_object (str);"); |
349 stream.println (" org.omg.CORBA.Object obj = orb.string_to_object (str);"); |
|
350 stream.println (" org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();"); |
350 stream.println (" _set_delegate (delegate);"); |
351 stream.println (" _set_delegate (delegate);"); |
351 stream.println (" } finally {"); |
352 stream.println (" } finally {"); |
352 stream.println (" orb.destroy() ;"); |
353 stream.println (" orb.destroy() ;"); |
353 stream.println (" }"); |
354 stream.println (" }"); |
354 stream.println (" }"); |
355 stream.println (" }"); |