[jboss-user] [EJB 3.0] New message: "Re: Getting InvocationType from org.jboss.aop.joinpoint.Invocation"

Jens Krause do-not-reply at jboss.com
Wed Mar 17 07:47:58 EDT 2010

User development,

A new message was posted in the thread "Getting InvocationType from org.jboss.aop.joinpoint.Invocation":


Author  : Jens Krause
Profile : http://community.jboss.org/people/jjk77

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 ...


To reply to this message visit the message page: http://community.jboss.org/message/532482#532482

More information about the jboss-user mailing list