"[EMAIL PROTECTED]" 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);

Any idea?

--
John

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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to