mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/RemoteSettingsImpl.java
private void updateProps(final Map<String, Object> props)
    {
        //new map of properties the original is read only
        final Map<String, Object> newProperties = new HashMap<String, Object>(props);
        
        //framework property
        final String frameworkProp = m_Context.getProperty(ENCRYPTION_FRAMEWORK_PROPERTY);
        
        //check if there is already a configuration property, if not use framework, if framework is null
        //use default of NONE
        if (props.get(RemoteSettings.KEY_ENCRYPTION_MODE) == null && frameworkProp != null)
        {
            newProperties.put(RemoteSettings.KEY_ENCRYPTION_MODE, EncryptionMode.valueOf(frameworkProp));
        }
        
        final RemoteSettingsConfig config = Configurable.createConfigurable(RemoteSettingsConfig.class, newProperties);
        
        m_IsLogRemoteMessagesEnabled = config.logRemoteMessages();
        m_EncryptionMode = config.encryptionMode();
        m_MaxMsgSizeInBytes = config.maxMsgSizeInBytes();
        m_IsPreventSleepModeEnabled = config.preventSleepMode();
    }
/**
     * Update the properties of this component.
     * 
     * @param props
     *      new properties
     */
Update the properties of this component.

@param props
new properties
Update the properties of this component . @param props new properties
private void updateProps(final Map<String, Object> props)
    {
        final Map<String, Object> newProperties = new HashMap<String, Object>(props);
        final String frameworkProp = m_Context.getProperty(ENCRYPTION_FRAMEWORK_PROPERTY);
        if (props.get(RemoteSettings.KEY_ENCRYPTION_MODE) == null && frameworkProp != null)
        {
            newProperties.put(RemoteSettings.KEY_ENCRYPTION_MODE, EncryptionMode.valueOf(frameworkProp));
        }
        final RemoteSettingsConfig config = Configurable.createConfigurable(RemoteSettingsConfig.class, newProperties);
        m_IsLogRemoteMessagesEnabled = config.logRemoteMessages();
        m_EncryptionMode = config.encryptionMode();
        m_MaxMsgSizeInBytes = config.maxMsgSizeInBytes();
        m_IsPreventSleepModeEnabled = config.preventSleepMode();
    }
private void updateProps ( final Map < String , Object > props ) { final Map < String , Object > newProperties = new HashMap < String , Object > ( props ) ; final String frameworkProp = m_Context . getProperty ( ENCRYPTION_FRAMEWORK_PROPERTY ) ; if ( props . get ( RemoteSettings . KEY_ENCRYPTION_MODE ) == null && frameworkProp != null ) { newProperties . put ( RemoteSettings . KEY_ENCRYPTION_MODE , EncryptionMode . valueOf ( frameworkProp ) ) ; } final RemoteSettingsConfig config = Configurable . createConfigurable ( RemoteSettingsConfig . class , newProperties ) ; m_IsLogRemoteMessagesEnabled = config . logRemoteMessages ( ) ; m_EncryptionMode = config . encryptionMode ( ) ; m_MaxMsgSizeInBytes = config . maxMsgSizeInBytes ( ) ; m_IsPreventSleepModeEnabled = config . preventSleepMode ( ) ; }
Update the properties of this component.
Update the properties of this component .
//new map of properties the original is read only //framework property //check if there is already a configuration property, if not use framework, if framework is null //use default of NONE