Package org.apache.felix.utils.filter
Class FilterImpl.ServiceReferenceDictionary
- java.lang.Object
-
- java.util.Dictionary
-
- org.apache.felix.utils.filter.FilterImpl.ServiceReferenceDictionary
-
- Enclosing class:
- FilterImpl
private static class FilterImpl.ServiceReferenceDictionary extends java.util.Dictionary
This Dictionary is used for key lookup from a ServiceReference during filter evaluation. This Dictionary implementation only supports the get operation using a String key as no other operations are used by the Filter implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private org.osgi.framework.ServiceReference
reference
-
Constructor Summary
Constructors Constructor Description ServiceReferenceDictionary(org.osgi.framework.ServiceReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration
elements()
java.lang.Object
get(java.lang.Object key)
boolean
isEmpty()
java.util.Enumeration
keys()
java.lang.Object
put(java.lang.Object key, java.lang.Object value)
java.lang.Object
remove(java.lang.Object key)
int
size()
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in classjava.util.Dictionary
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classjava.util.Dictionary
-
keys
public java.util.Enumeration keys()
- Specified by:
keys
in classjava.util.Dictionary
-
elements
public java.util.Enumeration elements()
- Specified by:
elements
in classjava.util.Dictionary
-
put
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
- Specified by:
put
in classjava.util.Dictionary
-
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in classjava.util.Dictionary
-
size
public int size()
- Specified by:
size
in classjava.util.Dictionary
-
-