mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-15 04:22:09 +08:00
enhancement #I588BO 对Slot模型的重构,在用户使用中去除Slot模型的概念,引入上下文的概念
This commit is contained in:
@@ -12,16 +12,16 @@ 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);
|
||||
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot.getContextBean());
|
||||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot.getContextBean());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user