[aspectwerkz-user] Weaving on polymorphic methods
"Bygrave, Graham BGI UK" <[email protected]> Wed, 25 May 2005 14:25:22 +0100
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <03D8E4DA4B752943B2F3F073ABDAE8363041F1@ldnnte2k032.insidelive.net> |
Hi, If I don't weave my superclasses, then in cases where my subclasses don't override methods, can I expect calls to trigger my aspect methods? Surely not, as the whole point of polymorphism is that I don't need to care what type of object I'm dealing with, I should just have the aspect method triggered regardless of whether the method was implemented in the superclass or overriden in the subclass. Thanks, Graham.