[aspectwerkz-dev] Re: [aspectwerkz-user] Problems with custom attributes and execution() pointcut
"Michael Nascimento Santos" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <BAY19-DAV2z2etaV4i20002d36e__13980.4052225829$1087308988@hotmail.com> |
> The custom annotation stuff of 0.10 and below was basically just hack (I > did the impl for the aspect def and just threw in the custom one), so > there might be some problems with it. Yeah, we've noticed it ;-) The funny thing is that, at first sight, the code seems ok. We're going to take a deeper look at it since we've got to use 0.10 for now. We'll let you know when/if we fix it. > Thanks for reporting that the interface subtype impl is not behaving > correctly, I will fix that ASAP. BTW, both behaviours are desirable. We need to match all the methods of a subclass for one use case and only the methods declared in the super class in other situations. I actually think the first case is more useful to us now, but we definitely need both. I think that the current sintax should work as it does now, i.e., match all methods of a subclass, and that maybe a pattern like: * (package.Interface)+.*(..) could match only the methods defined in the interface. What do you think about it? Regards, Michael Nascimento Santos JSR-207 Expert Group Member http://www.javablogs.com.br/blogs/page/soujavamisterm http://today.java.net/pub/au/80 Sun Certified Programmer for the Java 2 Platform 1.2 & 1.4 Sun Certified Web Component Developer for J2EE Sun Certified Mobile Application Developer