com.github.dactiv.showcase.service.foundation
类 OperatingRecordAspect

java.lang.Object
  继承者 com.github.dactiv.showcase.service.foundation.OperatingRecordAspect

@Component
public class OperatingRecordAspect
extends Object

操作记录Aspect,当执行某个Controller时会判断该Controller是否存在OperatingAudit 注解,如果存在表示该Controller需要执行操作记录,当执行完成后,会在TB_OPERATING_RECORD 表中插入一条数据,当某个Controller需要做操作记录但又重定向到另外一个也是需要做操作记录 时,会在TB_OPERATING_RECORDD表中插入两条数据,以此类推。

作者:
maurice

构造方法摘要
OperatingRecordAspect()
           
 
方法摘要
 Object doAround(org.aspectj.lang.ProceedingJoinPoint point)
          在带有OperatingAudit注解的方法中监控执行过程
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OperatingRecordAspect

public OperatingRecordAspect()
方法详细信息

doAround

public Object doAround(org.aspectj.lang.ProceedingJoinPoint point)
                throws Throwable
在带有OperatingAudit注解的方法中监控执行过程

抛出:
Throwable


Copyright © 2014. All rights reserved.