public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
this.appContext = applicationContext;
}
public RuleExecutor build(RuleConfig ruleConfig) {
RuleExecutor executor = build(ruleConfig.getRule());
if (null == executor) { return null; }
Map<String, Object> map = CollectUtils.newHashMap();
for (RuleConfigParam configParam : ruleConfig.getParams()) {
map.put(configParam.getParam().getName(), configParam.getValue());
}