org.jacorb.orb.portableInterceptor
Class CodecFactoryImpl

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.orb.portableInterceptor.CodecFactoryImpl
All Implemented Interfaces:
CodecFactory, CodecFactoryOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class CodecFactoryImpl
extends LocalObject
implements 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.10 2004/05/06 12:40:00 nicolas Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

Constructor Summary
CodecFactoryImpl(ORB orb)
           
 
Method Summary
 Codec create_codec(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, _ids, _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_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

CodecFactoryImpl

public CodecFactoryImpl(ORB orb)
Method Detail

create_codec

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

Specified by:
create_codec in interface CodecFactoryOperations
Throws:
UnknownEncoding