Hi, i'm trying to obtain an estimate for a particular method's execution time. The performanceMonitorInterceptor seems to be just what i'm looking for.
My interface is: com.ott.gt.queue.IQueue
One of the implementing classes: com.ott.gt.queue.SimpleQueue
Here is my bean spec:
I don't see any errors starting up my server , so bean initialization goes ok. But i don't see any log statements when any of the implemented methods from the interface are called in my "target" class.
<bean id="performanceInterceptor" class="org.springframework.aop.interceptor.PerformanceMonitorInterceptor"/>
<bean id="simpleQueue" class="com.ott.gt.queue.SimpleQueue"/>
<bean id="pService" class="org.springframework.aop.framework.ProxyFactoryBean">
I use log4j for our logging. Now, there might be a conflict or a mismatch, i'm not sure, with commons logging.
Putting the logger for thewhole application in debug, doesn't show me *any* indication that the interceptor method is being called.
I even subclassed the performanceMonitorInterceptor and changed just the logger to use log4j and still to no avail.
I even have the latest CGLIB library. I'm not sure what i'm missing.
Any help or suggestions will be appreciated.