org.jacorb.orb.portableInterceptor
Class CodecFactoryImpl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.jacorb.orb.portableInterceptor.CodecFactoryImpl
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.IOP.CodecFactory, org.omg.IOP.CodecFactoryOperations

public class CodecFactoryImpl
extends org.omg.CORBA.LocalObject
implements org.omg.IOP.CodecFactory

This class represents a CodecFactory. The factory has currently only one Codec, for ENCODING_CDR_ENCAPS 1.0.
If users like to add their own codec, they have to modify create_codec(). See PI Spec p.10-80

Version:
$Id: CodecFactoryImpl.java,v 1.11 2006/07/07 10:55:57 alphonse.bendt Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

Constructor Summary
CodecFactoryImpl(org.omg.CORBA.ORB orb)
           
 
Method Summary
 org.omg.IOP.Codec create_codec(org.omg.IOP.Encoding enc)
          implementation of org.omg.IOP.CodecFactoryOperations interface
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

CodecFactoryImpl

public CodecFactoryImpl(org.omg.CORBA.ORB orb)
Method Detail

create_codec

public org.omg.IOP.Codec create_codec(org.omg.IOP.Encoding enc)
                               throws org.omg.IOP.CodecFactoryPackage.UnknownEncoding
implementation of org.omg.IOP.CodecFactoryOperations interface

Specified by:
create_codec in interface org.omg.IOP.CodecFactoryOperations
Throws:
org.omg.IOP.CodecFactoryPackage.UnknownEncoding