[jboss-user] [JBoss AOP] - Re: How to annotate in opposite way
do-not-reply at jboss.com
Mon Oct 27 19:23:08 EDT 2008
"kabir.khan at jboss.com" wrote : You don't annotate the methods. You either use @DeclareError/Warning with pointcut expressions in a @Aspect annotated class as shown here https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/test/org/jboss/test/aop/annotateddeclare/DeclareAspect.java or you use xml.
Thanks lots Kabir.
I still stuck on the expression.
How to expression that if access is from com.b, then only some of methods (about 10 in total) defined in com.a are allowed (totaly 1000 public methods defined in com.a);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184977#4184977
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184977
More information about the jboss-user