1 21 package org.jacorb.orb.portableInterceptor; 22 23 import org.omg.IOP.*; 24 import org.omg.IOP.CodecFactoryPackage.*; 25 import org.omg.CORBA.ORB ; 26 27 38 39 public class CodecFactoryImpl 40 extends org.omg.CORBA.LocalObject 41 implements CodecFactory 42 { 43 private ORB orb = null; 44 45 public CodecFactoryImpl(ORB orb) 46 { 47 this.orb = orb; 48 } 49 50 53 54 public Codec create_codec(Encoding enc) 55 throws UnknownEncoding 56 { 57 return new CodecImpl( orb, enc ); 58 } 59 } 61 62 63 64 65 66 | Popular Tags |