Hi Hari,
Can you provide the details of AbstractStartRequestAspect?
There are a few limitations in concrete aspects in AspectJ (e.g., they don’t
themselves get woven), but so far I’ve found that there are workarounds available.
You can see some examples of concrete
aspects that users of Glassbox have posted at our forums (www.glassbox.com) and also sample ones that
we use in our test cases.
From:
aspectj-dev-bounces@xxxxxxxxxxx [mailto:aspectj-dev-bounces@xxxxxxxxxxx] On Behalf Of Hari Prabu Kandasamy
Sent: Thursday, April 26, 2007
4:47 AM
To: aspectj-dev@xxxxxxxxxxx
Subject: [aspectj-dev] Concrete
Aspect Not working
Hi,
I've started making some examples using
AspectJ1.5 LTW
I've created an aspect and able to get the
expected results when I just define my aspect as follows in my aop.xml
<aspects>
<aspect
name="com.test.aspects.aj.StartRequestAspect"/>
</aspects>
But I don’t see my aspects working
by the way I define it as follows.
<aspects>
<concrete-aspect
name="com.test.aspects.aj.StartRequestAspect"
extends =
"com.test.aspects.aj.AbstractStartRequestAspect">
<pointcut name="allMethodCalls" _expression_="execution (*
com..Test3..*(..))"/>
</concrete-aspect>
</aspects>
Any idea where am I going wrong ?
Also it would be great help if someone
provide me the working examples of using concrete aspects.
Thanx,
Hari.