1 package org.omg.IOP; 2 3 4 /** 5 * org/omg/IOP/CodecFactoryOperations.java . 6 * Generated by the IDL-to-Java compiler (portable), version "3.2" 7 * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl 8 * Saturday, February 9, 2008 9:40:05 AM GMT 9 */ 10 11 12 /** 13 * <code>Codecs</code> are obtained from the <code>CodecFactory</code>. 14 * The <code>CodecFactory</code> is obtained through a call to 15 * <code>ORB.resolve_initial_references( "CodecFactory" )</code>. 16 */ 17 public interface CodecFactoryOperations 18 { 19 20 /** 21 * Create a <code>Codec</code> of the given encoding. 22 * <p> 23 * @param enc The encoding for which to create a <code>Codec</code>. 24 * @return A <code>Codec</code> obtained with the given encoding. 25 * @exception UnknownEncoding thrown if this factory cannot create a 26 * <code>Codec</code> of the given encoding. 27 */ 28 org.omg.IOP.Codec create_codec (org.omg.IOP.Encoding enc) throws org.omg.IOP.CodecFactoryPackage.UnknownEncoding; 29 } // interface CodecFactoryOperations 30