@AOP()
@Log(writeclass = "org.osystem.web.WriteLog")
@OnBefore(aopclass = { "org.osystem.safe.SafeAOP" })
public class DoArray extends SPageMaster {
@AOP(false)
public String getMessage() {
return null;
}
@AOP(false)这段代码什么意思啊??
@Log(writeclass = "org.osystem.web.WriteLog")
@OnBefore(aopclass = { "org.osystem.safe.SafeAOP" })
public class DoArray extends SPageMaster {
@AOP(false)
public String getMessage() {
return null;
}
@AOP(false)这段代码什么意思啊??
我看的这个项目里面基本上每个类里都有这个注释
而且有的地方还用到了这个AOP接口 这个接口是这样定义的
public @interface AOP{
boolean value() default true;
}在interface前加@有代表什么意思
请帮忙解释一下
,里面添加这些annotation这样就不用xml去做配置。
网上好多 可以去看看 不难理解