Package com.sun.corba.ee.impl.encoding
Class CachedCodeBase
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
com.sun.org.omg.SendingContext._CodeBaseImplBase
com.sun.corba.ee.impl.encoding.CachedCodeBase
- All Implemented Interfaces:
CodeBase
,CodeBaseOperations
,Serializable
,Object
,IDLEntity
,InvokeHandler
,RunTime
,RunTimeOperations
Provides the reading side with a per connection cache of
info obtained via calls to the remote CodeBase.
Previously, most of this was in IIOPConnection.
Features:
Delays cache creation unless used
Postpones remote calls until necessary
Handles creating obj ref from IOR
Maintains caches for the following maps:
CodeBase IOR to obj ref (global)
RepId to implementation URL(s)
RepId to remote FVD
RepId to superclass type list
Needs cache management.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Connection
private CodeBase
private Hashtable
<String, FullValueDescription> private static final Object
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
static void
cleanCache
(ORB orb) private boolean
get_ir()
private Object
implementation
(String repId) String[]
implementations
(String[] repIds) Methods inherited from class com.sun.org.omg.SendingContext._CodeBaseImplBase
_ids, _invoke
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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
-
Field Details
-
wrapper
-
implementations
-
fvds
-
bases
-
delegate
-
conn
-
iorMapLock
-
iorMap
-
-
Constructor Details
-
CachedCodeBase
-
-
Method Details
-
cleanCache
-
get_ir
-
implementation
-
implementations
-
meta
-
metas
-
bases
-
connectedCodeBase
private boolean connectedCodeBase() -
getObjectFromIOR
-