mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-15 04:22:09 +08:00
feature #I5CHYH 提供多上下文支持的特性
enhancement #I5CHYJ 去除FlowExecutor中直接返回上下文的执行方法
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user