public class ConfigPidConfigurationPlugin extends Object implements org.osgi.service.cm.ConfigurationPlugin
| Constructor and Description |
|---|
ConfigPidConfigurationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
modifyConfiguration(org.osgi.framework.ServiceReference<?> reference,
Dictionary<String,Object> properties)
When a user creates/modifies a configuration (e.g., via the Felix Web Console Configuration
Manager), this method is invoked prior to the
ManagedService.updated(Dictionary) method to add a configuration PID to
the Dictionary. |
public void modifyConfiguration(org.osgi.framework.ServiceReference<?> reference,
Dictionary<String,Object> properties)
ManagedService.updated(Dictionary) method to add a configuration PID to
the Dictionary. If the bean that is getting created/modified has a setConfigurationPid(java.lang.String) method and the ManagedService/ManagedServiceFactory
utilizes a container-managed update strategy, the configuration PID will subsequently be
injected into the bean.modifyConfiguration in interface org.osgi.service.cm.ConfigurationPluginreference - Reference to the Managed Service or Managed Service Factoryproperties - The configuration properties. This argument must not contain the
"service.bundleLocation" property. The value of this property may be obtained from the
Configuration.getBundleLocation methodThis work is licensed under a Creative Commons Attribution 4.0 International License.