The keys in the hash table are InternalBindingKey objects, containing a single NameComponent and implementing the proper functions, i.e., equals() and hashCode() in an efficient manner. The values in the hash table are InternalBindingValues and store a org.omg.CosNaming::Binding and the object reference associated with the binding. For iteration, TransientBindingIterator objects are created, which are passed a cloned copy of the hashtable. Since elements are inserted and deleted and never modified, this provides stable iterators at the cost of cloning the hash table.
To create and destroy object references, the TransientNamingContext uses the orb.connect() and orb.disconnect() methods. @see NamingContextImpl @see NamingContextDataStore @see TransientBindingIterator @see TransientNameService
|
|
|
|