feature #I5CHYH 提供多上下文支持的特性

enhancement #I5CHYJ 去除FlowExecutor中直接返回上下文的执行方法
This commit is contained in:
everywhere.z
2022-06-16 12:50:50 +08:00
parent e9053366e3
commit 7bfdfcb185
414 changed files with 1328 additions and 900 deletions

View File

@@ -12,14 +12,14 @@ import com.yomahub.liteflow.spring.ComponentScanner;
*/
public class SpringCmpAroundAspect implements CmpAroundAspect {
@Override
public void beforeProcess(String nodeId, Slot<?> slot) {
public void beforeProcess(String nodeId, Slot slot) {
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot);
}
}
@Override
public void afterProcess(String nodeId, Slot<?> slot) {
public void afterProcess(String nodeId, Slot slot) {
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot);
}