I am using a method interceptor and before it invokes my method the Pointcut Advisor invokes the toString method on the method's class. Any ideas why this is happening?
Thanks in advance.
<bean id="methodCacheAdvisor" class="org.springframework.aop.support.NameMatchMe thodPointcutAdvisor">
<property name="advice">
<ref local="methodCacheInterceptor"/>
</property>
<property name="mappedNames">
<list>
<value>myMethod</value>
</list>
</property>
</bean>


Reply With Quote