org.springframework.osgi.util
Class ServiceReferenceBasedMap
java.lang.Object
java.util.AbstractMap
org.springframework.osgi.util.ServiceReferenceBasedMap
- All Implemented Interfaces:
- Map
public class ServiceReferenceBasedMap
- extends AbstractMap
ServiceReference based map. Offers a dynamic view of a service properties,
which can reflect updates done through the ServiceRegistration.
- Author:
- Costin Leau
- See Also:
ServiceRegistration
,
ServiceReference
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
ServiceReferenceBasedMap
public ServiceReferenceBasedMap(ServiceReference ref)
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class AbstractMap
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
- Overrides:
containsKey
in class AbstractMap
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map
- Overrides:
containsValue
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
get
public Object get(Object key)
- Specified by:
get
in interface Map
- Overrides:
get
in class AbstractMap
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap
putAll
public void putAll(Map t)
- Specified by:
putAll
in interface Map
- Overrides:
putAll
in class AbstractMap
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
- Overrides:
remove
in class AbstractMap
Copyright © 2006-2007 Spring Framework. All Rights Reserved.