This content has been marked as final.
Show 3 replies
-
1. Re: Possible regression in aop?
kabirkhan Mar 26, 2008 10:44 AM (in response to adrian.brock)The problem was that we moved the aop advisors to check MetaData.isMetaDataPresent()
http://www.jboss.com/?module=bb&op=viewtopic&t=129894
and TestComponentMetaDataLoader.retrieveMetaData() always returing null. I have modified it to check the annotations [url]JBDEPLOY-21/url] -
2. Re: Possible regression in aop?
adrian.brock Mar 26, 2008 11:13 AM (in response to adrian.brock):-)
Ok I see the problem.
The real fix is to invoke the super method instead of returning null.
I don't even know why I override the method for this test :-) -
3. Re: Possible regression in aop?
adrian.brock Mar 26, 2008 11:20 AM (in response to adrian.brock)Actually the method is abstract because it is just retrieving a name.
Your implementation should move to be the default implementation in the AbstractMetaDataLoader.