Initializes and returns the string specified by the {@code cacheBust}
property in the server-side config JavaScript.

@param cfg
The parsed config JavaScript as a properties map
@return the {@code cacheBust} property value
489198
protected String loadCacheBust(Scriptable cfg) {
		String result = null;
		Object value = cfg.get(CACHEBUST_CONFIGPARAM, cfg);
		if (value != Scriptable.NOT_FOUND && value != Undefined.instance) {
			result = toString(value);
		}
		return result;

	}
103524
public String getPublicanCfg() {
        return !publicanCfgs.containsKey(DEFAULT_PUBLICAN_CFG_KEY) ? null : publicanCfgs.get(DEFAULT_PUBLICAN_CFG_KEY).getValueText();
    }
714343
function _getParent(config) {
  if (config.hasOwnProperty('parent')) {
    if (!isString(config.parent)) return config.parent;
    if (cache.has(config.parent)) return cache.get(config.parent);
  }

  return settings.get('parent').parent || settings.get('parent');
}
397697
public static FaultToleranceConfig getConfig(String appName) {
        if (appName == null) {
            return DEFAULT_CFG;
        } else {
            FaultToleranceConfig config = APP_CONFIGS.get(appName);
            return config == null ? DEFAULT_CFG : config;
        }
    }
644298
public static String getConfigProperty(String configProperty) {
        checkArgument(configProperty != null, "Config property cannot be null");
        return getConfig().getString(configProperty);
    }
348346
protected int loadExpires(Scriptable cfg) {
		int expires = 0;
		Object oExpires = cfg.get(EXPIRES_CONFIGPARAM, cfg);
		if (oExpires != Scriptable.NOT_FOUND) {
			try {
				expires = Integer.parseInt(toString(oExpires));
			} catch (NumberFormatException ignore) {
				throw new IllegalArgumentException(EXPIRES_CONFIGPARAM+"="+oExpires); //$NON-NLS-1$
			}
		}
		return expires;
	}
247813
function getCustomConfiguration(){
    for(var i = 0; i < cacheModules.length; i++){
      var cacheModule = cacheModules[i];
      if(isEmpty(cacheModule)){
        log(true, 'Cache module at index ' + i + ' is \'empty\'.');
        continue;
      }
      cacheModule = addSettings(cacheModule);
      self.caches.push(cacheModule);
    }
  }
1274666
@Override
    public String getChangedProperties(WebAppSecurityConfig original) {
        // Bail out if it is the same object, or if this isn't of the right type.
        if (this == original) {
            return "";
        }
        if (!(original instanceof WebAppSecurityConfigImpl)) {
            return "";
        }

        StringBuffer buf = new StringBuffer();
        WebAppSecurityConfigImpl orig = (WebAppSecurityConfigImpl) original;

        for (Entry<String, String> entry : configAttributes.entrySet()) {
            try {
                Field field = (WebAppSecurityConfigImpl.class).getDeclaredField(entry.getValue());
                field.setAccessible(true);
                appendToBufferIfDifferent(buf, entry.getKey(), field.get(this), field.get(orig));
            } catch (Exception e) {
                // this won't happen. just ignore.
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Exception is caught " + e);
                }

            }
        }
        return buf.toString();
    }
1280931
function (cfg, ctxt) {
        this.$BaseWidget.constructor.apply(this, arguments);

        /**
         * Creates a unique id to be used in the markup generated by the widget.
         * @return {String}
         */
        if (!cfg.id) {
            this._domId = this._createDynamicId();
        } else {
            this._domId = this._context.$getId(cfg.id);
        }

        /**
         * Element containing the template content
         * @protected
         * @type HTMLElement
         */
        this._subTplDiv = null;

        /**
         * Template context of the sub template.
         * @type aria.templates.TemplateCtxt
         */
        this.subTplCtxt = null;

        /**
         * Is true if a module controller instance has to be created by the template widget itself.
         * @protected
         * @type Boolean
         */
        this._needCreatingModuleCtrl = cfg.moduleCtrl && cfg.moduleCtrl.getData == null;

        /**
         * Configuration which will be sent to the template context. It is initialized with some properties in the
         * template widget constructor and completed later. It is set to null just after the template context has been
         * initialized, or if an error prevents the template from being loaded. So, if it is not null, we are still
         * waiting for the template to be loaded.
         * @protected
         * @type aria.templates.CfgBeans:InitTemplateCfg
         */
        this._tplcfg = {
            classpath : ariaCoreEnvironmentCustomizations.getTemplateCP(cfg.classpath),
            args : cfg.args,
            id : this._domId,
            moduleCtrl : cfg.moduleCtrl
        };
        // does the normalization
        this._checkCfgConsistency(cfg);

        var tplCtxt = new ariaTemplatesTemplateCtxt();
        this.subTplCtxt = tplCtxt;

        /**
         * Whether the context was already initialized or not.<br />
         * Not-initialized context means the the widget is still waiting for some dependencies to load, thus it's a
         * differed content
         * @type Boolean
         * @protected
         */
        this._initCtxDone = false;

        /**
         * Whether or not the widget is differed in its main section.<br />
         * If the context is not initialized when the markup is created this widget should be considered as differed to
         * avoid triggering $displayReady on the containg template
         * @type Boolean
         * @override
         */
        this.isDiffered = false;

        /**
         * CSS classes coming from the CSS templates associated to the template
         * @protected
         * @type String
         */
        this._cssClassNames = "";
    }
600972
@Override
	public String getString(String key, String defaultValue) {
		return this.backingConfig.getString(this.prefix + key, defaultValue);
	}
686463
public static Set<String> cacheNames(Config config) {
    return config.hasPath("caffeine.jcache")
        ? Collections.unmodifiableSet(config.getObject("caffeine.jcache").keySet())
        : Collections.emptySet();
  }
743591
public MapConfig setCacheDeserializedValues(CacheDeserializedValues cacheDeserializedValues) {
        validateCacheDeserializedValuesOption(cacheDeserializedValues);
        this.cacheDeserializedValues = cacheDeserializedValues;
        this.setCacheDeserializedValuesExplicitlyInvoked = true;
        return this;
    }
411905
function (cfg) {
            if (!ariaCoreJsonValidator.normalize({
                json : cfg,
                beanName : "aria.templates.CfgBeans.InitTemplateCfg"
            })) {
                return false;
            }
            this._out = null;
            this._cfg = cfg;
            if (cfg.id) {
                this._id = cfg.id;
            } else {
                this._id = "tpl" + idCount;
                idCount++;
            }

            if (Aria.testMode) {
                this._prefixIds = {};
            }

            // if the template has been customized, the widget returns already the actual (customized) classpath
            this.tplClasspath = cfg.classpath;

            // TODO: check if cfg.classpath corresponds to a template is a template
            var tpl;
            try {
                tpl = Aria.getClassInstance(cfg.classpath);
            } catch (e) {
                this.$logError(this.TEMPLATE_CONSTR_ERROR, [cfg.classpath], e);
                return false;
            }
            this._tpl = tpl;

            // set the macro after tpl
            if (cfg.macro == null) {
                cfg.macro = {
                    name : "main",
                    args : cfg.args,
                    scope : tpl
                };
            }
            cfg.macro = this.checkMacro(cfg.macro);

            // PTR05228660: use private interface for performances
            var context = cfg.context, moduleCtrl = cfg.moduleCtrl, data = cfg.data;
            var privateInfo, moduleCtrlPrivate;

            // retrieve information from context if not specified
            if (context && !moduleCtrl) {
                if (!data) {
                    data = context.data;
                }
                moduleCtrl = context.moduleCtrl;
            }

            if (moduleCtrl) {
                // When a moduleCtrl is used, the ModuleCtrlFactory should be loaded.
                // However, the ModuleCtrlFactory is not a static dependency cause sometimes we don't need it.
                // TODO: today, we just fail if it's not here, replace this with a silent dynamic loading
                // (Aria.load)
                if (!aria.templates.ModuleCtrlFactory) {
                    this.$logError(this.MISSING_MODULE_CTRL_FACTORY, [cfg.classpath]);
                } else {

                    if (!__getModulePrivateInfo) {
                        __getModulePrivateInfo = aria.templates.ModuleCtrlFactory.__getModulePrivateInfoMethod();
                    }
                    privateInfo = __getModulePrivateInfo.call(this, moduleCtrl);

                    if (!privateInfo) {
                        // if privateInfo is null, it means either the module controller was not created through
                        // aria.templates.ModuleCtrlFactory or it was already disposed (error was already logged in
                        // __getModulePrivateInfo)
                        return false;
                    }
                    moduleCtrlPrivate = privateInfo.moduleCtrlPrivate;

                    if (!data) {
                        data = moduleCtrlPrivate.getData();
                    } else {
                        // data where specified. If a context was also specified, try to match data with a sub
                        // controller
                        if (context) {
                            var newModuleCtrl = moduleCtrlPrivate.getSubModuleCtrl(data);
                            if (newModuleCtrl != moduleCtrl) {
                                moduleCtrl = newModuleCtrl;
                                // update moduleCtrl info
                                privateInfo = __getModulePrivateInfo.call(this, moduleCtrl);
                                if (!privateInfo) {
                                    // if privateInfo is null, it means either the module controller was not created
                                    // through aria.templates.ModuleCtrlFactory or it was already disposed (error
                                    // was already logged in __getModulePrivateInfo)
                                    return false;
                                }
                                moduleCtrlPrivate = privateInfo.moduleCtrlPrivate;
                            }
                        }
                    }
                }
            }

            this.data = data;
            this.moduleCtrl = moduleCtrl;
            if (privateInfo) {
                this.flowCtrl = privateInfo.flowCtrl;
                this.flowCtrlPrivate = privateInfo.flowCtrlPrivate;
                this.moduleCtrlPrivate = moduleCtrlPrivate;
                this.moduleRes = moduleCtrlPrivate.getResourceSet();
            }

            // update configuration
            cfg.data = data;
            cfg.moduleCtrl = moduleCtrl;

            // register this template in the templateCtxtManager
            ariaTemplatesTemplateCtxtManager.add(this);

            if (this.data != null) {
                this.__dataGround = {
                    data : this.data
                };
            }

            // We no longer create new methods in a closure each time a new instance of a template is created,
            // instead we use the interface mechanism to expose methods to the template and prevent access to the
            // template context
            // LEAK & PERF IMPROVMENT : interface on these two functions results in poor performance and leaks

            var oSelf = this, index, name;

            for (index = 0; name = paramMapping[index]; index++) {
                tpl[name] = this[name];
            }

            var functionUtils = ariaUtilsFunction;
            for (index = 0; name = methodMapping[index]; index++) {
                tpl[name] = functionUtils.bind(this[name], this);
            }

            // do not use bind for __$write as this method is called intensively (Perf improvment)
            tpl.__$write = function (s, line) {
                return oSelf.__$write(s, line, this.$classpath);
            };

            if (this.moduleCtrl) {
                this.moduleCtrl.$on({
                    '*' : {
                        fn : tpl.onModuleEvent,
                        scope : tpl
                    },
                    'beforeDispose' : {
                        fn : this._beforeModuleDispose,
                        scope : this
                    }
                });
            }
            if (this.flowCtrl) {
                this.flowCtrl.$on({
                    '*' : tpl.onFlowEvent,
                    scope : tpl
                });
            }

            this._width = {};
            this._height = {};
            this.$setViewportWidth(ariaTemplatesLayout.realWidth(cfg.width));
            this.$setViewportHeight(ariaTemplatesLayout.realHeight(cfg.height));
            this.$setSizeCfg(tpl.__$width, tpl.__$height);
            this.__addDebugInfo(cfg.tplDiv);
            var res = tpl.__$initTemplate();
            this.__loadLibs(tpl.__$macrolibs, "macrolibs");
            return res;
        }
634473
def load_init_cfg
      cfg = {}
      if (cfg_file = AgentConfig.init_cfg_file) && (cfg_data = YAML.load(IO.read(cfg_file)))
        cfg = SerializationHelper.symbolize_keys(cfg_data) rescue nil
        fail("Cannot read configuration for agent #{cfg_file.inspect}") unless cfg
      end
      cfg
    end
973024
@SuppressWarnings("unchecked")
    public <T> T getValue(final ShardingPropertiesConstant shardingPropertiesConstant) {
        if (cachedProperties.containsKey(shardingPropertiesConstant)) {
            return (T) cachedProperties.get(shardingPropertiesConstant);
        }
        String value = props.getProperty(shardingPropertiesConstant.getKey());
        if (Strings.isNullOrEmpty(value)) {
            Object obj = props.get(shardingPropertiesConstant.getKey());
            if (null == obj) {
                value = shardingPropertiesConstant.getDefaultValue();
            } else {
                value = obj.toString();
            }
        }
        Object result;
        if (boolean.class == shardingPropertiesConstant.getType()) {
            result = Boolean.valueOf(value);
        } else if (int.class == shardingPropertiesConstant.getType()) {
            result = Integer.valueOf(value);
        } else if (long.class == shardingPropertiesConstant.getType()) {
            result = Long.valueOf(value);
        } else {
            result = value;
        }
        cachedProperties.put(shardingPropertiesConstant, result);
        return (T) result;
    }
341379
@Override
    public void init(final Configuration cfg) {
        LOG.ok("Connector initialization");

        config = (WebServiceConfiguration) cfg;
        connection = new WebServiceConnection(config);
    }
1126916
function (cfg) {
            if (cfg == null) {
                cfg = this._cfg;
            }

            var bind = cfg.bind;

            if (bind == null) {
                return null;
            }

            return bind.selectedTab;
        }