mil.dod.th.ose.config/src/mil/dod/th/ose/config/loading/impl/OSGiConfigLoaderImpl.java
private void handleStandardConfig(final PidConfig config) throws IOException
    {
        final String pid = config.getPid();
        final Map<String, Object> configProps = 
                ConfigurationUtils.convertDictionaryPropsToMap(createPropertyMap(pid, config.getProperties()));
        
        final Configuration standardConfig = m_ConfigAdmin.getConfiguration(pid, null);
        
        // get existing properties and add on new config properties over top
        final Dictionary<String, Object> newProps = 
                Objects.firstNonNull(standardConfig.getProperties(), new Hashtable<String, Object>());
        
        for (Entry<String, Object> configEntry : configProps.entrySet())
        {
            newProps.put(configEntry.getKey(), configEntry.getValue());
        }
        
        standardConfig.update(newProps);
    }
/**
     * Method called when handling a standard OSGi configuration.
     * 
     * @param config
     *      PidConfig that represents the configuration properties to be set for the specified OSGi configuration.
     * @throws IOException
     *      Thrown if the properties for the configuration cannot be created or updated.
     */
Method called when handling a standard OSGi configuration.

@param config
PidConfig that represents the configuration properties to be set for the specified OSGi configuration.
@throws IOException
Thrown if the properties for the configuration cannot be created or updated.
Method called when handling a standard OSGi configuration . @param config PidConfig that represents the configuration properties to be set for the specified OSGi configuration . @throws IOException Thrown if the properties for the configuration cannot be created or updated .
private void handleStandardConfig(final PidConfig config) throws IOException
    {
        final String pid = config.getPid();
        final Map<String, Object> configProps = 
                ConfigurationUtils.convertDictionaryPropsToMap(createPropertyMap(pid, config.getProperties()));
        final Configuration standardConfig = m_ConfigAdmin.getConfiguration(pid, null);
        final Dictionary<String, Object> newProps = 
                Objects.firstNonNull(standardConfig.getProperties(), new Hashtable<String, Object>());
        for (Entry<String, Object> configEntry : configProps.entrySet())
        {
            newProps.put(configEntry.getKey(), configEntry.getValue());
        }
        standardConfig.update(newProps);
    }
private void handleStandardConfig ( final PidConfig config ) throws IOException { final String pid = config . getPid ( ) ; final Map < String , Object > configProps = ConfigurationUtils . convertDictionaryPropsToMap ( createPropertyMap ( pid , config . getProperties ( ) ) ) ; final Configuration standardConfig = m_ConfigAdmin . getConfiguration ( pid , null ) ; final Dictionary < String , Object > newProps = Objects . firstNonNull ( standardConfig . getProperties ( ) , new Hashtable < String , Object > ( ) ) ; for ( Entry < String , Object > configEntry : configProps . entrySet ( ) ) { newProps . put ( configEntry . getKey ( ) , configEntry . getValue ( ) ) ; } standardConfig . update ( newProps ) ; }
Method called when handling a standard OSGi configuration.
Method called when handling a standard OSGi configuration .
// get existing properties and add on new config properties over top