I'm trying to test out a simple Interceptor: org.springframework.aop.interceptor.PerformanceMonitorInterceptor
I've ruled out that it has to do with my log4j.xml since I have another class that was logging under the same logger and I recieved output. What else do I need to do to get this Interceptor to log? applicationContext-service.xml - aop:config wrote: > > <aop:config> > <aop:advisor id="userManagerTx" advice-ref="userManagerTxAdvice" > pointcut="execution(* *..service.UserManager.*(..))" order="0"/> > <aop:advisor id="userManagerSecurity" > advice-ref="userSecurityAdvice" pointcut="execution(* > *..service.UserManager.saveUser(..))" order="1"/> > <aop:advisor id="managerTx" advice-ref="txAdvice" > pointcut="execution(* *..service.*Manager.*(..))" order="2"/> > > > <!-- New Interceptor Test --> > <aop:advisor > advice-ref="performanceInterceptor" > id="performanceInterceptorAdvisor" > pointcut="execution(* *..service.*Manager.*(..))" order="3"/> > > <!-- End Intercepter Test --> > </aop:config> > applicationContext-service.xml - Interceptor bean wrote: > > <!-- New Interceptor Test --> > <bean id="performanceInterceptor" > class="org.springframework.aop.interceptor.PerformanceMonitorInterceptor"> > <property name="loggerName" value="PerformanceInterceptor"/> > </bean> > <!--End New Interceptor Test--> > Thank you, Andrew J. Leer -- View this message in context: http://www.nabble.com/Interceptor-doesn%27t-log-anything-tf2954532s2369.html#a8264223 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
