bug #I5AVD2 新版本2.7.0中,全局切面中拿不到组件的别名了

This commit is contained in:
everywhere.z
2022-06-07 00:43:16 +08:00
parent 803e6a5fee
commit 9a63e34b43
6 changed files with 46 additions and 18 deletions

View File

@@ -14,14 +14,14 @@ public class SpringCmpAroundAspect implements CmpAroundAspect {
@Override
public void beforeProcess(String nodeId, Slot<?> slot) {
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot.getContextBean());
ComponentScanner.cmpAroundAspect.beforeProcess(nodeId, slot);
}
}
@Override
public void afterProcess(String nodeId, Slot<?> slot) {
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot.getContextBean());
ComponentScanner.cmpAroundAspect.afterProcess(nodeId, slot);
}
}