Package com.sun.corba.se.impl.oa.poa
Class ActiveObjectMap
java.lang.Object
com.sun.corba.se.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 suppots 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 voidclear()final booleanfinal booleanstatic ActiveObjectMapfinal AOMEntryget(ActiveObjectMap.Key key) get Returbs the entry assigned to the key, or creates a new entry in state INVALID if none is present.abstract ActiveObjectMap.Keyfinal ServantgetServant(AOMEntry entry) abstract booleanhasMultipleIDs(AOMEntry value) final SetkeySet()protected voidputEntry(ActiveObjectMap.Key key, AOMEntry value) final voidputServant(Servant servant, AOMEntry value) final voidprotected abstract voidremoveEntry(AOMEntry entry, ActiveObjectMap.Key key)
-
Field Details
-
poa
-
-
Constructor Details
-
ActiveObjectMap
-
-
Method Details
-
create
-
contains
-
containsKey
-
get
get Returbs the entry assigned to the key, or creates a new entry in state INVALID if none is present. -
getServant
-
getKey
- Throws:
WrongPolicy
-
getKey
- Throws:
WrongPolicy
-
putEntry
-
putServant
-
removeEntry
-
remove
-
hasMultipleIDs
-
clear
protected void clear() -
keySet
-