Re: [aspectwerkz-dev] include element in aop.xml
Eugene Kuleshov <eu-E/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Jonas Boner wrote: >> Please correct me if I'm wrong, but my understatanding of >>the AW online mode is that all classes in include is being >>instrumented and then within instrumented classes advices >>added as per binding configuration. >> Basically in my case I don't need dynamically add/remove >>advices. So I'm lookin for possibility to reduce number of >>instrumented classes. > > This is wrong. > > In AW only the classes that has a join point that matches a pointcut in > your definition will be instrumented. > > So the include/exclude package is only a convenience construct, sort of > system level 'within' and 'NOT within'. Is it correct for both bytecode weaving and hotswap modes? I'm using online mode with JDK 1.3 to run Weblogic7 under AW. regards, Eugene