Having the following definitions:
JAMon (jamonadminapi.jsp) shows 2 hits, while the intercepted Test.query method is actually called just once (verified by debugging and by tracing). JAMon shows identical execution time for the "two" executions, and LastAccess time = FirstAccess time.Code:<aop:config proxy-target-class="true"> <aop:advisor advice-ref="jamonInterceptor" pointcut="execution(* abc.Test.query(..))"/> </aop:config> <bean id="jamonInterceptor" class="org.springframework.aop.interceptor.JamonPerformanceMonitorInterceptor"> <property name="trackAllInvocations" value="true"/> </bean>
I have of course tried several times, resetting JAMon between each try.
Has anyone experienced similar "double" hits in JAMon, and even have an explanation and a solution?