[aspectc-user] Test joinpoint of earlier match
Andreas.Schulze at metop.de
Andreas.Schulze at metop.de
Thu Jan 25 14:50:06 CET 2007
Hello aspectc[++]-user group,
In my project I will have two or more aspects weaving code to different
pointcuts.
The problem is that i need to ensure that at no joinpoint more then one
aspect will be woven.
simple example:
aspect ActionA {
advice execution("% %::run(...)") : around() {
//advice code
tjp->proceed();
//advice code
}
};
aspect ActionB {
advice execution("% %::%(...)") : around() {
//other advice code
tjp->proceed();
//other advice code
}
};
If ActionA is woven to any run method ActionB schould only weave to all
functions excluding the run methods.
Is there a way to realize this functionality?
Thanks
Andreas Schulze
Student @ O.-v.-G. University Magdeburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20070125/dcbeb06d/attachment.html>
More information about the aspectc-user
mailing list