Interface ConfigurationAdminPlugin


public interface ConfigurationAdminPlugin
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
  • Method Summary

    Modifier and Type
    Method
    Description
    getConfigurationData(String configurationPid, Map<String,Object> configurationDataMap, org.osgi.framework.BundleContext bundleContext)
    Returns a map of configuration data that should be appended to the configurationDataMap parameter.
  • Method Details

    • getConfigurationData

      Map<String,Object> getConfigurationData(String configurationPid, Map<String,Object> configurationDataMap, org.osgi.framework.BundleContext bundleContext)
      Returns a map of configuration data that should be appended to the configurationDataMap parameter. The configurationDataMap that is passed into this function is unmodifiable and is passed in to simply expose what information already exists.
      Parameters:
      configurationPid - service.pid for the ConfigurationAdmin configuration
      configurationDataMap - map of what properties have already been added to the configuration in question
      bundleContext - used to retrieve list of services
      Returns:
      Map defining additional properties to add to the configuration