/** * Determines whether the given section applies for the given object, if it * does, the section is added to given results object. * * @param section * The section to process * @param object * The object to retrieve config for * @param context * The context to use for the lookup * @param results * The resulting config object for the search */ protected void processSection(ConfigSection section, Object object, ConfigLookupContext context, ConfigImpl results) { String evaluatorName = section.getEvaluator(); Evaluator evaluator = getEvaluator(evaluatorName); if (evaluator == null) { throw new ConfigException("Unable to locate evaluator implementation for '" + evaluatorName + "' for " + section); } context.getAlgorithm().process(section, evaluator, object, results); }
/** * Determines whether the given section applies for the given object, if it * does, the section is added to given results object. * * @param section * The section to process * @param object * The object to retrieve config for * @param context * The context to use for the lookup * @param results * The resulting config object for the search */ protected void processSection(ConfigSection section, Object object, ConfigLookupContext context, ConfigImpl results) { String evaluatorName = section.getEvaluator(); Evaluator evaluator = getEvaluator(evaluatorName); if (evaluator == null) { throw new ConfigException("Unable to locate evaluator implementation for '" + evaluatorName + "' for " + section); } context.getAlgorithm().process(section, evaluator, object, results); }
/** * Determines whether the given section applies for the given object, if it * does, the section is added to given results object. * * @param section * The section to process * @param object * The object to retrieve config for * @param context * The context to use for the lookup * @param results * The resulting config object for the search */ protected void processSection(ConfigSection section, Object object, ConfigLookupContext context, ConfigImpl results) { String evaluatorName = section.getEvaluator(); Evaluator evaluator = getEvaluator(evaluatorName); if (evaluator == null) { throw new ConfigException("Unable to locate evaluator implementation for '" + evaluatorName + "' for " + section); } context.getAlgorithm().process(section, evaluator, object, results); }