Class DictionaryUtils

java.lang.Object
com.ibm.wsspi.kernel.service.utils.DictionaryUtils

public class DictionaryUtils extends Object
Simple set of utilities for dealing with the Dictionary objects used by the OSGi ConfigAdmin service.
  • Constructor Details

    • DictionaryUtils

      public DictionaryUtils()
  • Method Details

    • mapToDictionary

      public static 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).
      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