|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.LocalObject | +--org.openorb.PI.CodecFactoryManagerImpl
This class implements the Codec Factory. It is used to return a Codec according to a encoding format.
Constructor Summary | |
CodecFactoryManagerImpl()
|
Method Summary | |
Codec |
create_codec(Encoding enc)
Operation create_codec creates a codec from an encoding. |
void |
register_codec_factory(Encoding enc,
CodecFactory factory)
Registration point for codec factories. |
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 |
equals, 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 |
public CodecFactoryManagerImpl()
Method Detail |
public Codec create_codec(Encoding enc) throws UnknownEncoding
create_codec
in interface CodecFactoryOperations
enc
- The encoding to create a codec from.UnknownEncoding
- When the factory is null.public void register_codec_factory(Encoding enc, CodecFactory factory)
register_codec_factory
in interface CodecFactoryManager
enc
- The encopding to register a factory for.factory
- The factory for the specified encoding.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |