Class CodecFactoryImpl

java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.se.impl.interceptors.CodecFactoryImpl
All Implemented Interfaces:
Serializable, Object, IDLEntity, CodecFactory, CodecFactoryOperations

public final class CodecFactoryImpl extends LocalObject implements CodecFactory
CodecFactoryImpl is the implementation of the Codec Factory, as described in orbos/99-12-02.
See Also:
  • Constructor Details

    • CodecFactoryImpl

      public CodecFactoryImpl(ORB orb)
      Creates a new CodecFactory implementation. Stores the ORB that created this factory, for later use by the Codec.
  • Method Details

    • create_codec

      public Codec create_codec(Encoding enc) throws UnknownEncoding
      Creates a codec of the given encoding. The only format recognized by this factory is ENCODING_CDR_ENCAPS, versions 1.0 through 1.(MAX_MINOR_VERSION_SUPPORTED).
      Specified by:
      create_codec in interface CodecFactoryOperations
      Throws:
      UnknownEncoding - Thrown if this factory cannot create a Codec of the given encoding.