[jboss-user] [JBoss AOP] - Re: I'm in trouble....help
kabir.khan@jboss.com
do-not-reply at jboss.com
Mon Nov 6 13:04:40 EST 2006
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
More information about the jboss-user
mailing list