Class DictionaryUtils
java.lang.Object
com.ibm.wsspi.kernel.service.utils.DictionaryUtils
Simple set of utilities for dealing with the Dictionary objects used by
the OSGi ConfigAdmin service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Dictionary<String,
Object> mapToDictionary
(Map<String, Object> map) Return a Dictionary object backed by the original map (rather than copying the elements from the map into a new dictionary).
-
Constructor Details
-
DictionaryUtils
public DictionaryUtils()
-
-
Method Details
-
mapToDictionary
Return a Dictionary object backed by the original map (rather than copying the elements from the map into a new dictionary).- Parameters:
map
- Map with String keys and Object values- Returns:
- Dictionary with String keys and Object values where all operations are delegated to the original map
-