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

--- On Wed, 9/3/08, Andy Clement <[EMAIL PROTECTED]> wrote:
From: Andy Clement <[EMAIL PROTECTED]>
Subject: Re: [aspectj-users] Advice jboss interface/class doesnt work
To: [email protected]
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 <[EMAIL PROTECTED]>

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

[email protected]

https://dev.eclipse.org/mailman/listinfo/aspectj-users




_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users



      
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to