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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...