/*
(non-Javadoc)

@see
net.jawr.web.resource.bundle.generator.ConfigurationAwareResourceGenerator
#setConfig(net.jawr.web.config.JawrConfig)
962583
@SuppressWarnings("unchecked")
	public void setConfig(JawrConfig config) {
		
		servletContext = config.getContext();
		grailsContext = servletContext
				.getAttribute(JawrGrailsConstant.GRAILS_WAR_DEPLOYED) != null;
		if (grailsContext) {
			LOGGER.info("Grails war deployed");
		}
		
		pluginMsgPathMap = (Map<String, String>) servletContext.getAttribute(JawrGrailsConstant.JAWR_GRAILS_PLUGIN_MSG_PATHS);
		if(pluginMsgPathMap == null){
			throw new BundlingProcessException("No grails plugin message paths map defined in the servlet context");
		}
		
		rsHandler = new GrailsServletContextResourceReader(JawrGrailsConstant.JAWR_GRAILS_PLUGIN_MSG_PATHS);
		rsHandler.init(servletContext, config);
	}
415450
public MasterWebUIConfiguration setConfiguration(
      TreeSet<Triple<String, String, String>> configuration) {
    mConfiguration = configuration;
    return this;
  }
254025
public void setConfigurationManagers(java.util.Collection<OperatingSystemConfigurationManager> configurationManagers) {
        if (configurationManagers == null) {
            this.configurationManagers = null;
            return;
        }

        this.configurationManagers = new com.amazonaws.internal.SdkInternalList<OperatingSystemConfigurationManager>(configurationManagers);
    }
1249778
public void setNameGenerator(I_CmsFileNameGenerator nameGenerator) throws CmsConfigurationException {

        if (m_frozen) {
            throw new CmsConfigurationException(Messages.get().container(Messages.ERR_NO_CONFIG_AFTER_STARTUP_0));
        }
        m_nameGenerator = nameGenerator;
    }
781369
@Override
    public void init(final CONFIG config) throws InitializationException, InterruptedException {
        synchronized (CONFIG_LOCK) {
            try {
                if (config == null) {
                    throw new NotAvailableException("config");
                }
                currentScope = detectScope(config);
                try {
                    applyConfigUpdate(config);
                } catch (CouldNotPerformException ex) {
                    ExceptionPrinter.printHistory("Could not apply config update for " + this, ex, logger);
                    try {
                        if (JPService.getProperty(JPTestMode.class).getValue()) {
                            throw new FatalImplementationErrorException("Could not apply config update for " + this, this, ex);
                        }
                    } catch (JPNotAvailableException ex1) {
                        // to nothing if property could not be resovled.
                    }
                }
                super.init(currentScope);
            } catch (CouldNotPerformException ex) {
                throw new InitializationException(this, ex);
            }
        }
    }
1094198
public synchronized void setOption(String key, String value)
	{
		if (key == null || value == null) {
			return;
		}
		config.put(key, value);
	}
175141
public Configuration<T> setConfiguration(Map<String, String> configuration) {
        Validate.notNull(configuration, "Properties for configuration of recorder extension can not be a null object!");
        this.configuration = configuration;
        return this;
    }
603830
@Override
	public void configure(Configuration parameters) {

		// enforce sequential configure() calls
		synchronized (CONFIGURE_MUTEX) {
			// configure MR OutputFormat if necessary
			if (this.mapredOutputFormat instanceof Configurable) {
				((Configurable) this.mapredOutputFormat).setConf(this.jobConf);
			} else if (this.mapredOutputFormat instanceof JobConfigurable) {
				((JobConfigurable) this.mapredOutputFormat).configure(this.jobConf);
			}
		}
	}
90417
public static synchronized void init(Configuration conf) {
    if (!initDone) {
      DefaultConfiguration.conf = conf;
      DefaultConfiguration.initDone = true;
    }
  }
1116924
@Reference
    protected void setConfigAdmin(ConfigurationAdmin configAdmin) {
        SibTr.entry(tc, CLASS_NAME + "setConfigAdmin", configAdmin);

        this.configAdmin = configAdmin;

        SibTr.exit(tc, CLASS_NAME + "setConfigAdmin");
    }
619118
public void setConfiguration(Configuration configuration) {

        this.configuration = configuration;

        // init ParamReaders with the new <Configuration>
        ParamReaders.getInstance().setConfiguration(configuration);

        // register as listener to configuration change
        FoundationConfigurationListenerRegistry.addFoundationConfigurationListener(this);

        // verify that all configured values are correct
        verifyConfiguration();

    }
949646
@Override
	public void applyConfig(final ConfigSettings config)
	{

		Object o = config
				.getConfigParameter(ConfigurationKeys.LOGGING_PATH_DIFFTOOL);
		if (o != null) {
			this.diffToolField.setText((String) o);
		}
		else {
			this.diffToolField.setText("");
		}

		o = config
				.getConfigParameter(ConfigurationKeys.LOGGING_LOGLEVEL_DIFFTOOL);
		if (o != null) {
			this.diffToolLogLevelComboBox.setSelectedItem(o);
		}

	}
227468
public void setConfig(LWMConfig config) 
    {
    	// Store away the custom groups associated with the ME
    	
    	HashSet <String> customGrps = new HashSet <String>();
    	List l = new ArrayList<String>();
    	String str =((JsMEConfig) config).getMessagingEngine().getName();
     	l.add(str);
    	customGrps.addAll(l);
    	CUSTOM_GROUPS.put(_messagingEngine.getUuid().toString(), customGrps);
    	_messagingEngine.getName();
    }
1255556
public void setOptionSettings(java.util.Collection<ConfigurationOptionSetting> optionSettings) {
        if (optionSettings == null) {
            this.optionSettings = null;
            return;
        }

        this.optionSettings = new com.amazonaws.internal.SdkInternalList<ConfigurationOptionSetting>(optionSettings);
    }
1147842
static void setConfig(String configName) throws Exception {
		Handler.configName = configName;
		config = (HandlerConfig) Config.getInstance().getJsonObjectConfig(configName, HandlerConfig.class);
		initHandlers();
		initPaths();
	}
227780
def setConfiguration(self, configuration):
        
        """
        if isinstance(configuration, Configuration):
           configuration = configuration.value

        self.dev.set_configuration(configuration)
234669
public void setConfigurations(java.util.Collection<java.util.Map<String, String>> configurations) {
        if (configurations == null) {
            this.configurations = null;
            return;
        }

        this.configurations = new java.util.ArrayList<java.util.Map<String, String>>(configurations);
    }