Class DictionaryUtils
- java.lang.Object
-
- com.ibm.wsspi.kernel.service.utils.DictionaryUtils
-
public class DictionaryUtils extends java.lang.Object
Simple set of utilities for dealing with the Dictionary objects used by the OSGi ConfigAdmin service.
-
-
Constructor Summary
Constructors Constructor Description DictionaryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Dictionary<java.lang.String,java.lang.Object>
mapToDictionary(java.util.Map<java.lang.String,java.lang.Object> map)
Return a Dictionary object backed by the original map (rather than copying the elements from the map into a new dictionary).
-
-
-
Method Detail
-
mapToDictionary
public static java.util.Dictionary<java.lang.String,java.lang.Object> mapToDictionary(java.util.Map<java.lang.String,java.lang.Object> map)
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
-
-