<br><font size=2 face="sans-serif">Hello aspectc[++]-user group,</font>
<br>
<br><font size=2 face="sans-serif">In my project I will have two or more
aspects weaving code to different pointcuts.</font>
<br>
<br><font size=2 face="sans-serif">The problem is that i need to ensure
that at no joinpoint more then one aspect will be woven.</font>
<br>
<br>
<br><font size=2 face="sans-serif">simple example:</font>
<br>
<br><font size=2 color=blue face="Courier New">aspect</font><font size=2 face="Courier New">
ActionA {</font>
<br><font size=2 face="Courier New"> </font><font size=2 color=blue face="Courier New">advice</font><font size=2 face="Courier New">
execution("% %::run(...)") : around() {</font>
<br><font size=2 face="Courier New"> //advice code</font>
<br><font size=2 face="Courier New"> tjp->proceed();</font>
<br><font size=2 face="Courier New"> //advice code</font>
<br><font size=2 face="Courier New"> }</font>
<br><font size=2 face="Courier New">};</font>
<br>
<br><font size=2 color=blue face="Courier New">aspect</font><font size=2 face="Courier New">
ActionB {</font>
<br><font size=2 face="Courier New"> </font><font size=2 color=blue face="Courier New">advice</font><font size=2 face="Courier New">
execution("% %::%(...)") : around() {</font>
<br><font size=2 face="Courier New"> //other advice code</font>
<br><font size=2 face="Courier New"> tjp->proceed();</font>
<br><font size=2 face="Courier New"> //other advice code</font>
<br><font size=2 face="Courier New"> }</font>
<br><font size=2 face="Courier New">};</font>
<br>
<br><font size=2 face="sans-serif">If ActionA is woven to any run method
ActionB schould only weave to all functions excluding the run methods.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Is there a way to realize this functionality?</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br>
<br><font size=2 face="sans-serif">Andreas Schulze</font>
<br><font size=2 face="sans-serif">Student @ O.-v.-G. University Magdeburg</font>