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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184840#4184840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184840 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
