We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class ControllerAOP { private static final Logger logger = LoggerFactory.getLogger(ControllerAOP.class);
@Pointcut("execution(public cn.xiaowenjie.common.beans.ResultBean *(..))") public void controllerMethod() { }
..... } 为什么这个切点 @pointcut("execution(public cn.xiaowenjie.common.beans.ResultBean *(..))") 是切的ResultBean? 我的理解一般,会对controller类进行切面,这里对ResultBean进行切面,是什么作用和道理呢? 还请指导,谢谢。
The text was updated successfully, but these errors were encountered:
同问
Sorry, something went wrong.
No branches or pull requests
public class ControllerAOP {
private static final Logger logger = LoggerFactory.getLogger(ControllerAOP.class);
.....
}
为什么这个切点
@pointcut("execution(public cn.xiaowenjie.common.beans.ResultBean *(..))")
是切的ResultBean?
我的理解一般,会对controller类进行切面,这里对ResultBean进行切面,是什么作用和道理呢?
还请指导,谢谢。
The text was updated successfully, but these errors were encountered: