1 package org.omg.mof.Model; 2 3 4 10 11 12 public abstract class ModelPackageFactoryPOA extends org.omg.PortableServer.Servant 14 implements org.omg.mof.Model.ModelPackageFactoryOperations, org.omg.CORBA.portable.InvokeHandler 15 { 16 17 19 private static java.util.Hashtable _methods = new java.util.Hashtable (); 20 static 21 { 22 _methods.put ("create_model_package", new java.lang.Integer (0)); 23 } 24 25 public org.omg.CORBA.portable.OutputStream _invoke (String $method, 26 org.omg.CORBA.portable.InputStream in, 27 org.omg.CORBA.portable.ResponseHandler $rh) 28 { 29 org.omg.CORBA.portable.OutputStream out = null; 30 java.lang.Integer __method = (java.lang.Integer )_methods.get ($method); 31 if (__method == null) 32 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); 33 34 switch (__method.intValue ()) 35 { 36 case 0: { 38 try { 39 org.omg.mof.Model._ModelPackage $result = null; 40 $result = this.create_model_package (); 41 out = $rh.createReply(); 42 org.omg.mof.Model._ModelPackageHelper.write (out, $result); 43 } catch (org.omg.mof.Reflective.MofError $ex) { 44 out = $rh.createExceptionReply (); 45 org.omg.mof.Reflective.MofErrorHelper.write (out, $ex); 46 } 47 break; 48 } 49 50 default: 51 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); 52 } 53 54 return out; 55 } 57 private static String [] __ids = { 59 "IDL:org/omg/mof/Model/ModelPackageFactory:1.0"}; 60 61 public String [] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId) 62 { 63 return (String [])__ids.clone (); 64 } 65 66 public ModelPackageFactory _this() 67 { 68 return ModelPackageFactoryHelper.narrow( 69 super._this_object()); 70 } 71 72 public ModelPackageFactory _this(org.omg.CORBA.ORB orb) 73 { 74 return ModelPackageFactoryHelper.narrow( 75 super._this_object(orb)); 76 } 77 78 79 } | Popular Tags |