Class ActiveObjectMap

java.lang.Object
com.sun.corba.ee.impl.oa.poa.ActiveObjectMap

public abstract class ActiveObjectMap extends Object
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 Details

  • Constructor Details

    • ActiveObjectMap

      protected ActiveObjectMap(POAImpl poa)
  • Method Details

    • create

      public static ActiveObjectMap create(POAImpl poa, boolean multipleIDsAllowed)
    • contains

      public final boolean contains(Servant value)
    • containsKey

      public final boolean containsKey(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key)
    • get

      public final AOMEntry get(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key)
    • getServant

      public final Servant getServant(AOMEntry entry)
    • getKey

      public abstract com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key getKey(AOMEntry value) throws WrongPolicy
      Throws:
      WrongPolicy
    • getKey

      public com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key getKey(Servant value) throws WrongPolicy
      Throws:
      WrongPolicy
    • putEntry

      protected void putEntry(com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key key, AOMEntry value)
    • putServant

      public final void putServant(Servant servant, AOMEntry value)
    • 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

      public abstract boolean hasMultipleIDs(AOMEntry value)
    • clear

      protected void clear()
    • keySet

      public final Set<com.sun.corba.ee.impl.oa.poa.ActiveObjectMap.Key> keySet()