@Aspect
@Configuration
public class AspectTest {
@Pointcut("execution(public String xxx.xxx.xxx.Controller+.method1(..))")
public void xxxxx() {} @Around("xxxxx()")
public Object executeBeforexxxxx(ProceedingJoinPoint pjp) throws Throwable {
Object param1 = pjp.getArgs()[0]; return pjp.proceed();
}
}
05-07 10:15