1 package ist.coach.coachEmfCommon; 2 3 import ist.coach.coachEmfServices.SnmpAdapter.DataTypeHelper; 4 5 10 public class DataTypeFactory implements org.omg.CORBA.portable.ValueFactory { 11 12 public DataTypeFactory() {} 13 14 public java.io.Serializable read_value(org.omg.CORBA_2_3.portable.InputStream in) { 15 java.io.Serializable v = new DataTypeImpl(); 16 return in.read_value(v); 17 } 18 19 public static void 20 register() { 21 22 org.objectweb.ccm.Components.Runtime.register_value_factory( 23 DataTypeHelper.id(), 24 new DataTypeFactory()); 25 } 26 27 } 28 | Popular Tags |