Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Advice jboss interface/class doesnt work

Now warnings disapeared but pointcut and advice dont work. I mean no weaving at all.

--- On Wed, 9/3/08, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
From: Andy Clement <andrew.clement@xxxxxxxxx>
Subject: Re: [aspectj-users] Advice jboss interface/class doesnt work
To: aspectj-users@xxxxxxxxxxx
Date: Wednesday, September 3, 2008, 9:24 AM

The warning "advice has not been applied" indicates that at the time you are writing and compiling the aspect, the advice did not find a match on code it was exposed to (inpath/other source).  This is normal *if* you plan to use it later with load time weaving - or do you actually have the JBoss types around on the inpath?

If you want to remove the warning so you don't have to worry about it, use:
@SuppressAjWarnings

Andy.

2008/9/3 Rashid Mahmood <rashid_m180@xxxxxxxxx>
Hi All,

I am trying to advice invoke method in

org.jboss.invocation.Invoker interface OR
org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy class

using the following pointcut
call(public *
org.jboss.invocation.Invoker+.invoke(..))
or
call(public * org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(..))

and with an additional weaver include statement in aop.xml for above class/interface.

When i save my aspect file in eclipse it gives me warning "advice has not been applied"

Please give me idea how can i use the above pointcut?



_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top