1 26 27 package org.objectweb.ccm.demo2.monolithic; 28 29 import org.objectweb.ccm.demo2.*; 30 31 37 38 public class FoodDefaultFactory 39 implements org.omg.CORBA.portable.ValueFactory  40 { 41 47 50 public java.io.Serializable 51 read_value(org.omg.CORBA_2_3.portable.InputStream in) 52 { 53 java.io.Serializable v = new FoodImpl(); 54 return in.read_value(v); 55 } 56 57 63 66 public static void 67 register() 68 { 69 FoodFactoryHelper.register(new FoodDefaultFactory()); 70 } 71 } 72 | Popular Tags |