This content has been marked as final.
Show 2 replies
-
1. Re: Getting InvocationType from org.jboss.aop.joinpoint.Invocation
jaikiran Mar 17, 2010 7:36 AM (in response to jjk77)Which version of JBoss AS? Can you explain a bit more about your usecase? Why do you want to know whether the client is remote or local?
-
2. Re: Getting InvocationType from org.jboss.aop.joinpoint.Invocation
jjk77 Mar 17, 2010 7:48 AM (in response to jaikiran)We are using JBoss 4.3.0.GA.
The usecase is that we need to measure the time a method call takes with all interceptors attached und we also log this time to a logfile. I think the only reason we need to know if it is a local or remote call is that we could see it in the logfile . My supervisor said i should figure out if it is possible to get this information and i have tried a few things like to get a SessionContext in my Interceptor class to get the InvokedBusinessInterface, but this didn't work out, or to get my needed information from some metadata stored with the call ...