Package com.sun.corba.ee.impl.oa.poa
Class ActiveObjectMap
java.lang.Object
com.sun.corba.ee.impl.oa.poa.ActiveObjectMap
- Direct Known Subclasses:
MultipleObjectMap
,SingleObjectMap
The ActiveObjectMap maintains associations between servants and
their keys. There are two variants, to support whether or not
multiple IDs per servant are allowed. This class supports bidirectional
traversal of the key-servant association. Access to an instance of this
class is serialized by the POA mutex.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
final boolean
final boolean
static ActiveObjectMap
final AOMEntry
get
(ActiveObjectMap.Key key) abstract ActiveObjectMap.Key
final Servant
getServant
(AOMEntry entry) abstract boolean
hasMultipleIDs
(AOMEntry value) final Set
<ActiveObjectMap.Key> keySet()
protected void
putEntry
(ActiveObjectMap.Key key, AOMEntry value) final void
putServant
(Servant servant, AOMEntry value) final void
protected abstract void
removeEntry
(AOMEntry entry, ActiveObjectMap.Key key)
-
Field Details
-
poa
-
keyToEntry
-
entryToServant
-
servantToEntry
-
-
Constructor Details
-
ActiveObjectMap
-
-
Method Details
-
create
-
contains
-
containsKey
-
get
-
getServant
-
getKey
- Throws:
WrongPolicy
-
getKey
- Throws:
WrongPolicy
-
putEntry
-
putServant
-
removeEntry
-
remove
-
hasMultipleIDs
-
clear
protected void clear() -
keySet
-