Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Intercepting web services

Hey Ron,

3) You can advise execution(public String
MyService.serviceMethod(String))
and if you weave into the server it will do what you,
too. See
http://www.eclipse.org/aspectj/doc/released/faq.html#q:comparecallandexecuti
on for more on the differences between call and
execution pointcuts.

In general, the weaver has to affect (weave into) the
calling class to
affect method calls and the called class to affect
method executions.

can u explain this a little more. What do you mean by
weaving into the server... in the example, how can I,
say, print something just before the function is
called in the web service.

Thank you

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Back to the top