Oy! This pisses me off, we NEED TO HAVE THIS ONLINE as the forums start getting out of sync.
Claude 1- please stop using "u" when you mean you. 2- contribute and get RW if you will 3- repost this online 4- bill please use the FORUMS to answer, just click on the link marcf > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of claudehussenet > Sent: Sunday, February 22, 2004 2:05 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New > AOP stuff going on. > > I have looked at how to answer to my second question (The > easiest one ;-)) > > The class advised for a Caller pointcut is the calling class. > I didn't find a way to get a handle on this class within the > implementation of the Interceptor.So ,by adding the following > code within the invokeCaller method from the ClassAdvisor > class ,I am solving my problem. > > // New field added within the CallerInvocation class. > invocation.callingClass = this.clazz; > > Then ,to get information on the calling class ,we just need > to call the following static method in the Interceptor implementation > > Method callingMethod > =MethodHashing.findMethodByHash(methodInvocation.callingClass, > methodInvocation.callingMethodHash); > > let me know what u think. > > Thx-Claude > > > View the original post : > http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38224 > 59#3822459 > > Reply to the post : > http://www.jboss.org/index.html?module=bb&op=posting&mode=repl > y&p=3822459 > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with a free > DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > >
smime.p7s
Description: S/MIME cryptographic signature