aspectJWeaver and pointcut target
Hi,
I was wondering if it was possible to write an aspect in my aop.xml file (using LTW with aspectJWeaver) that specifies a target expression in the pointcut. For example,
Code:
<concrete-aspect name="MyConcreteAspect" extends="MyAbstractAspect">
<pointcut name="somePointCut" expression="call(public void MyInterface.doSomething(..)) AND target(AnImplClass)" />
</concrete-aspect>
Basically my setup is that MyInterface is an interface and I want to intercept all calls made to doSomething on AnImplClass (AnImplClass implements MyInterface). Is this possible? Thanks.
Jeff