【调整】FlowBus::addSpringScanNode 更名为 FlowBus::addManagedNode

This commit is contained in:
noear
2023-04-12 16:07:39 +08:00
parent 385b69ba98
commit 2e066e8cf9
3 changed files with 8 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ public class SpringContextCmpInit implements ContextCmpInit {
public void initCmp() {
for (Map.Entry<String, NodeComponent> componentEntry : ComponentScanner.nodeComponentMap.entrySet()) {
if (!FlowBus.containNode(componentEntry.getKey())) {
FlowBus.addSpringScanNode(componentEntry.getKey(), componentEntry.getValue());
FlowBus.addManagedNode(componentEntry.getKey(), componentEntry.getValue());
}
}
}