1 package org.omg.DynamicAny; 2 3 4 10 11 12 33 public class _DynAnyFactoryStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynAnyFactory 34 { 35 final public static java.lang.Class _opsClass = DynAnyFactoryOperations .class; 36 37 38 39 49 public org.omg.DynamicAny.DynAny create_dyn_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode 50 { 51 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("create_dyn_any", _opsClass); 52 DynAnyFactoryOperations $self = (DynAnyFactoryOperations ) $so.servant; 53 54 try { 55 return $self.create_dyn_any (value); 56 } finally { 57 _servant_postinvoke ($so); 58 } 59 } 61 62 93 public org.omg.DynamicAny.DynAny create_dyn_any_from_type_code (org.omg.CORBA.TypeCode type) throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode 94 { 95 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("create_dyn_any_from_type_code", _opsClass); 96 DynAnyFactoryOperations $self = (DynAnyFactoryOperations ) $so.servant; 97 98 try { 99 return $self.create_dyn_any_from_type_code (type); 100 } finally { 101 _servant_postinvoke ($so); 102 } 103 } 105 private static String [] __ids = { 107 "IDL:omg.org/DynamicAny/DynAnyFactory:1.0"}; 108 109 public String [] _ids () 110 { 111 return (String [])__ids.clone (); 112 } 113 114 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 115 { 116 String str = s.readUTF (); 117 String [] args = null; 118 java.util.Properties props = null; 119 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 120 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 121 _set_delegate (delegate); 122 } 123 124 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 125 { 126 String [] args = null; 127 java.util.Properties props = null; 128 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 129 s.writeUTF (str); 130 } 131 } | Popular Tags |