Home » geronimo-2.2-source-release » org.apache.geronimo.gbean » [javadoc | source]
org.apache.geronimo.gbean
public class: ReferenceMap [javadoc | source]
java.lang.Object
   org.apache.geronimo.gbean.ReferenceMap

All Implemented Interfaces:
    Map, ReferenceCollectionListener

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Nested Class Summary:
public interface  ReferenceMap.Key   
Constructor:
 public ReferenceMap(Collection collection,
    Key key) 
    Constructs the ReferenceMap using a new instance of HashMap as the internal map.
    Parameters:
    collection - Must be an instance of ReferenceCollection
    key -
 public ReferenceMap(Collection collection,
    Map map,
    Key key) 
    Constructs the ReferenceMap using a new instance of HashMap as the internal map.
    Parameters:
    collection - Must be an instance of ReferenceCollection
    map - The map instance to which references will be added/removed
    key -
Method from org.apache.geronimo.gbean.ReferenceMap Summary:
clear,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   memberAdded,   memberRemoved,   put,   putAll,   remove,   size,   values
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.gbean.ReferenceMap Detail:
 public  void clear() 
 public boolean containsKey(Object key) 
 public boolean containsValue(Object value) 
 public Set entrySet() 
 public boolean equals(Object o) 
 public Object get(Object key) 
 public int hashCode() 
 public boolean isEmpty() 
 public Set keySet() 
 public  void memberAdded(ReferenceCollectionEvent event) 
 public  void memberRemoved(ReferenceCollectionEvent event) 
 public Object put(Object key,
    Object value) 
 public  void putAll(Map t) 
 public Object remove(Object key) 
 public int size() 
 public Collection values()