OK Andy. It runs as expected Thank you Jean-Louis Pasturel [EMAIL PROTECTED]
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé : lundi 21 juillet 2008 07:50 À : [email protected] Objet : RE: [aspectj-users] Tree caller method/ called method Thanks Andy, I take a look. Jean-Louis Pasturel [EMAIL PROTECTED] -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Andy Clement Envoyé : dimanche 20 juillet 2008 20:04 À : [email protected] Objet : Re: [aspectj-users] Tree caller method/ called method How about using 'thisEnclosingJoinPointStaticPart' ? http://dev.eclipse.org/viewcvs/indextech.cgi/aspectj-home/doc/progguide/prin table.html - search on thisEnclosingJoinPointStaticPart Andy. 2008/7/20 Jean-Louis.Pasturel <[EMAIL PROTECTED]>: > Hello > i want to generate a log file with this pattern : > <Date-time>;<caller Class.method>;<called Class.method>;<duration> > With a call pointcut, i can reach the called Class.method and the caller > Class. But is there a way to reach the caller Class.method ? > > > _______________________________________________ > 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 ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
