|
From: Rod J. <rod...@in...> - 2003-11-11 17:23:51
|
Forwarded on behalf of Bob... renaud wrote: >certain join points and values at those points. Advice defines code that is >executed when a pointcut is reached. These are, then, the dynamic parts of >AspectJ. ></AspectJDoc> > >By reading this, you can really think that the advice and the pointcut are >orthogonal and defined independently. Indeed, it seems not flexible at all >to define at the same place the code to be executed and where it is >executed. > > I think it means that advice maps code to pointcuts. >To me it is confusing. Moreover, lots of work on AOP have pointed out the >benefits of having independent structures for the both. To me AspectJ misses >something here: the ability to define independent (unlocated) advice -- like >an interceptor does. > > You can map to an abstract pointcut. I think Advice is the correct term here. Thanks, Bob |