|
|
@ -58,6 +58,7 @@ public class TrackGroupAspect {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Around("@annotation(logTrackGroup)")
|
|
|
|
@Around("@annotation(logTrackGroup)")
|
|
|
|
public Object execute(final ProceedingJoinPoint joinPoint, LogTrackGroup logTrackGroup) throws Throwable {
|
|
|
|
public Object execute(final ProceedingJoinPoint joinPoint, LogTrackGroup logTrackGroup) throws Throwable {
|
|
|
|
|
|
|
|
log.debug("=== AOP @LogTrackGroup 切面启动器监听处理事件开始 ===");
|
|
|
|
final Object result;
|
|
|
|
final Object result;
|
|
|
|
TrackContext context = getContext(joinPoint, logTrackGroup);
|
|
|
|
TrackContext context = getContext(joinPoint, logTrackGroup);
|
|
|
|
ITrackProcessor processor = applicationContext.getAutowireCapableBeanFactory().createBean(logTrackGroup.processor());
|
|
|
|
ITrackProcessor processor = applicationContext.getAutowireCapableBeanFactory().createBean(logTrackGroup.processor());
|
|
|
@ -71,6 +72,7 @@ public class TrackGroupAspect {
|
|
|
|
processor.process(context);
|
|
|
|
processor.process(context);
|
|
|
|
throw new RuntimeException(ex.getMessage());
|
|
|
|
throw new RuntimeException(ex.getMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
log.debug("=== AOP @LogTrackGroup 切面启动器监听处理事件结束 ===");
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|