configuration = pm.callPluginsAndCreateACopy(sr, configuration);
processedConfiguration = pm.callPluginsAndCreateACopy(sr, configuration);
  public void doUpdate(PluginManager pm) throws ConfigurationException {    if(sr == null) {      return;    }    Object targetService = getTargetService();    if(targetService == null) {      return;    }    configuration = pm.callPluginsAndCreateACopy(sr, configuration);    if(factoryPid == null) {      update((ManagedService)targetService);    } else {      update((ManagedServiceFactory)targetService);    }  }