[aosd-discuss] motivation for call vs execution pointcut/join
point distinction
Jason Furlong
jasonfurlong at sympatico.ca
Tue Apr 12 08:05:11 EST 2005
> Btw, if somebody has examples of call advice which cannot be replaced
by a cflow+execution solution, I'd be interested to look at it. Note
that obvious examples are communication aspects. But they are most of
the time implemented through proxies. In these cases, you may just want
to advise the execution of the proxy...
Cheers,
/Renaud
With some of the access control work that I was doing, I had to use a
call pointcut so that I could capture the identity of the calling
class. Advice from an execution pointcut wouldn't give me the name of
the caller and my security model depended on the caller - receiver
relationship. . While this wasn't ideal, at the time it was the best
solution I could think of.
Jason Furlong
www.jasonfurlong.com
More information about the discuss
mailing list