Methods Summary |
---|
protected void | clear()
keyToEntry.clear();
|
public final boolean | contains(org.omg.PortableServer.Servant value) // Map< Servant, AOMEntry >
return servantToEntry.containsKey( value ) ;
|
public final boolean | containsKey(com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key key)
return keyToEntry.containsKey(key);
|
public static com.sun.corba.se.impl.oa.poa.ActiveObjectMap | create(POAImpl poa, boolean multipleIDsAllowed)
if (multipleIDsAllowed)
return new MultipleObjectMap( poa ) ;
else
return new SingleObjectMap(poa ) ;
|
public final AOMEntry | get(com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key key)get Returbs the entry assigned to the key, or creates a new
entry in state INVALID if none is present.
AOMEntry result = (AOMEntry)keyToEntry.get(key);
if (result == null) {
result = new AOMEntry( poa ) ;
putEntry( key, result ) ;
}
return result ;
|
public abstract com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key | getKey(AOMEntry value)
|
public com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key | getKey(org.omg.PortableServer.Servant value)
AOMEntry entry = (AOMEntry)servantToEntry.get( value ) ;
return getKey( entry ) ;
|
public final org.omg.PortableServer.Servant | getServant(AOMEntry entry)
return (Servant)entryToServant.get( entry ) ;
|
public abstract boolean | hasMultipleIDs(AOMEntry value)
|
public final java.util.Set | keySet()
return keyToEntry.keySet() ;
|
protected void | putEntry(com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key key, AOMEntry value)
keyToEntry.put( key, value ) ;
|
public final void | putServant(org.omg.PortableServer.Servant servant, AOMEntry value)
entryToServant.put( value, servant ) ;
servantToEntry.put( servant, value ) ;
|
public final void | remove(com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key key)
AOMEntry entry = (AOMEntry)keyToEntry.remove( key ) ;
Servant servant = (Servant)entryToServant.remove( entry ) ;
if (servant != null)
servantToEntry.remove( servant ) ;
removeEntry( entry, key ) ;
|
protected abstract void | removeEntry(AOMEntry entry, com.sun.corba.se.impl.oa.poa.ActiveObjectMap$Key key)
|