Class ActiveObjectMap
java.lang.Object
com.sun.corba.ee.impl.oa.poa.ActiveObjectMap
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()final booleanfinal booleancontainsKey(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) static ActiveObjectMapfinal AOMEntryget(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) abstract com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Keycom.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Keyfinal ServantgetServant(AOMEntry entry) abstract booleanhasMultipleIDs(AOMEntry value) final Set<com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key> keySet()protected voidfinal voidputServant(Servant servant, AOMEntry value) final voidremove(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) protected abstract voidremoveEntry(AOMEntry entry, com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key)
-
Field Details
-
poa
-
-
Constructor Details
-
ActiveObjectMap
-
-
Method Details
-
create
-
contains
-
containsKey
public final boolean containsKey(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) -
get
-
getServant
-
getKey
public abstract com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key getKey(AOMEntry value) throws WrongPolicy - Throws:
WrongPolicy
-
getKey
- Throws:
WrongPolicy
-
putEntry
-
putServant
-
removeEntry
protected abstract void removeEntry(AOMEntry entry, com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) -
remove
public final void remove(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key) -
hasMultipleIDs
-
clear
protected void clear() -
keySet
-