enhancement #I5DEGQ 增加Switch的节点类型,以替换cond节点的的定义

This commit is contained in:
everywhere.z
2022-06-23 01:31:06 +08:00
parent e3baf4b286
commit 40bba65e3c
50 changed files with 246 additions and 121 deletions

View File

@@ -59,7 +59,7 @@ public class ComponentScanner implements BeanPostProcessor {
//判断是不是声明式组件
//如果是就缓存到类属性的map中
if (LiteFlowProxyUtil.isMarkedCmp(bean.getClass())){
if (LiteFlowProxyUtil.isDeclareCmp(bean.getClass())){
LOG.info("proxy component[{}] has been found", beanName);
NodeComponent nodeComponent = LiteFlowProxyUtil.proxy2NodeComponent(bean, beanName);
nodeComponentMap.put(beanName, nodeComponent);