Your pointcut reads: | @PointcutDef("execution( static void *->@logger.Logger(..)) ") |
and your method is | @Logger(label = Label.WARNING,body="evento XXXXX") | public String login() | Your pointcut will not pick this out since the method is not static and does not have void as a return type, try: | @PointcutDef("execution(* *->@logger.Logger(..)) ") | I View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983512#3983512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983512 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user