public Config getConfig(Object object, ConfigLookupContext context) { return getConfig(object, context, getGlobalConfigImpl(), getSectionsByArea(), getSections()); }
public Config getConfig(Object object, ConfigLookupContext context) { return getConfig(object, context, getGlobalConfigImpl(), getSectionsByArea(), getSections()); }
public Config getConfig(Object object, ConfigLookupContext context) { return getConfig(object, context, getGlobalConfigImpl(), getSectionsByArea(), getSections()); }
/** * Adds the given config section to the config service and optionally within * a named area * * @param section * The config section to add * @param area * The name of the area to add the section to, if null the * section is only added to the global section list */ protected void addConfigSection(ConfigSection section, String area) { ConfigImpl globalConfig = getGlobalConfigImpl(); Map<String, List<ConfigSection>> sectionsByArea = getSectionsByArea(); List<ConfigSection> sections = getSections(); addConfigSection(section, area, globalConfig, sectionsByArea, sections); }
/** * Adds the given config section to the config service and optionally within * a named area * * @param section * The config section to add * @param area * The name of the area to add the section to, if null the * section is only added to the global section list */ protected void addConfigSection(ConfigSection section, String area) { ConfigImpl globalConfig = getGlobalConfigImpl(); Map<String, List<ConfigSection>> sectionsByArea = getSectionsByArea(); List<ConfigSection> sections = getSections(); addConfigSection(section, area, globalConfig, sectionsByArea, sections); }
/** * Adds the given config section to the config service and optionally within * a named area * * @param section * The config section to add * @param area * The name of the area to add the section to, if null the * section is only added to the global section list */ protected void addConfigSection(ConfigSection section, String area) { ConfigImpl globalConfig = getGlobalConfigImpl(); Map<String, List<ConfigSection>> sectionsByArea = getSectionsByArea(); List<ConfigSection> sections = getSections(); addConfigSection(section, area, globalConfig, sectionsByArea, sections); }