com.ibm.wsspi.kernel.service.utils

Class DictionaryUtils

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.kernel.service.utils.DictionaryUtils

  1. public class DictionaryUtils
  2. extends java.lang.Object
Simple set of utilities for dealing with the Dictionary objects used by the OSGi ConfigAdmin service.

Constructor Summary

Constructor and Description
DictionaryUtils()

Method Summary

Modifier and Type Method and Description
  1. static
  2. 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

  1. public DictionaryUtils()

Method Detail

mapToDictionary

  1. 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