com.ibm.wsspi.kernel.service.utils

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 and Description
      DictionaryUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and 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).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DictionaryUtils

        public DictionaryUtils()
    • 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