1 package org.omg.mof.Model; 2 3 4 10 11 12 public class _ModelPackageFactoryStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.mof.Model.ModelPackageFactory 14 { 15 16 public org.omg.mof.Model._ModelPackage create_model_package () throws org.omg.mof.Reflective.MofError 17 { 18 org.omg.CORBA.portable.InputStream $in = null; 19 try { 20 org.omg.CORBA.portable.OutputStream $out = _request ("create_model_package", true); 21 $in = _invoke ($out); 22 org.omg.mof.Model._ModelPackage $result = org.omg.mof.Model._ModelPackageHelper.read ($in); 23 return $result; 24 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 25 $in = $ex.getInputStream (); 26 String _id = $ex.getId (); 27 if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0")) 28 throw org.omg.mof.Reflective.MofErrorHelper.read ($in); 29 else 30 throw new org.omg.CORBA.MARSHAL (_id); 31 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 32 return create_model_package (); 33 } finally { 34 _releaseReply ($in); 35 } 36 } 38 private static String [] __ids = { 40 "IDL:org/omg/mof/Model/ModelPackageFactory:1.0"}; 41 42 public String [] _ids () 43 { 44 return (String [])__ids.clone (); 45 } 46 47 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 48 { 49 String str = s.readUTF (); 50 String [] args = null; 51 java.util.Properties props = null; 52 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 53 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 54 _set_delegate (delegate); 55 } 56 57 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 58 { 59 String [] args = null; 60 java.util.Properties props = null; 61 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 62 s.writeUTF (str); 63 } 64 } | Popular Tags |