[jboss-user] [JBoss AOP] - Re: Newbie needs help with configuration

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Jun 1 13:15:19 EDT 2007


Wayne is right. Also, you do not need to define the same aspect + binding with both xml and annotations. If you do this the MethodAuditLogInterceptor.audit() advice will be executed twice. 

Take a look at the tutorial examples for more info, they use either annotations or xml.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050562#4050562

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050562



More information about the jboss-user mailing list