| Constructor and Description |
|---|
DescribableServiceMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.osgi.framework.ServiceReference ref) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,V>> |
entrySet() |
V |
get(Object key) |
protected org.osgi.framework.BundleContext |
getContext() |
void |
handleEvent(org.osgi.service.event.Event event)
The handleEvent method takes care of keeping the internal describable map up to date when
service name changes occur.
|
boolean |
isEmpty() |
Set<String> |
keySet() |
V |
put(String key,
V value) |
void |
putAll(Map<? extends String,? extends V> m) |
V |
remove(Object key) |
int |
size() |
void |
unbind(org.osgi.framework.ServiceReference ref) |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllprotected org.osgi.framework.BundleContext getContext()
public void bind(org.osgi.framework.ServiceReference ref)
public void unbind(org.osgi.framework.ServiceReference ref)
public int size()
size in interface Map<String,V extends Describable>public boolean isEmpty()
isEmpty in interface Map<String,V extends Describable>public boolean containsKey(Object key)
containsKey in interface Map<String,V extends Describable>public boolean containsValue(Object value)
containsValue in interface Map<String,V extends Describable>public V put(String key, V value)
put in interface Map<String,V extends Describable>public V remove(Object key)
remove in interface Map<String,V extends Describable>public void putAll(Map<? extends String,? extends V> m)
putAll in interface Map<String,V extends Describable>public void clear()
clear in interface Map<String,V extends Describable>public Set<String> keySet()
keySet in interface Map<String,V extends Describable>public Collection<V> values()
values in interface Map<String,V extends Describable>public Set<Map.Entry<String,V>> entrySet()
entrySet in interface Map<String,V extends Describable>public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerevent - This work is licensed under a Creative Commons Attribution 4.0 International License.