[aspectj-users] Getting Ejb Sessions IDs

2008-08-29 Thread Rashid Mahmood
Hi All, I am working on an application where i have to record/save Ejb invocations from an Ejb Client Application. I tried with AspectJ LoadTime Weaving and am able to get some information about these invocations like Method Name, Method Arguments etc. What i was looking about getting

Re: [aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-29 Thread Christian Kölle
Andrew Eisenberg wrote: Does this not work for you? The call to method() in main() is where the advice is applied. Hi Thanks for the answer and sorry for the question in the first place. You're right, this works fine. My problem was the result of a build problem in our project. The

Re: [aspectj-users] Loadtime weaving of Ejb Calls

2008-08-29 Thread rmahmood
I didnt realize that Javax package was not included by default while weaving. I did it by placing weave tag inside aop.xml and included javax.ejb.* and now its weaving my ejb calls. Thanx to one of previous posts. rmahmood wrote: Hi All, I am working on an application where i have

Re: [aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-29 Thread Andrew Eisenberg
No problem at all. :-) On Fri, Aug 29, 2008 at 4:46 AM, Christian Kölle [EMAIL PROTECTED] wrote: Andrew Eisenberg wrote: Does this not work for you? The call to method() in main() is where the advice is applied. Hi Thanks for the answer and sorry for the question in the first place.

Re: [aspectj-users] Getting Ejb Sessions IDs

2008-08-29 Thread Guillaume Pothier
What i was looking about getting Responses(Result) from this method calls? If I understand you (and AspectJ...) correctly, that would be either with an after returning advice (http://www.eclipse.org/aspectj/doc/released/progguide/semantics-advice.html), or with an around advice, using the result