A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Spring AOP Logging Interceptor not working
Joined: Nov 10, 2011
Nov 10, 2011 07:07:56
I have a logging interceptor class for before, after & throwable advice.
I had it working but lost the code & since trying to re-implement it in my Spring config, it hasn't been firing.
Have I missed something:
<bean id="reportData" class="com.dao.impl.JdbcReportDaoImpl"/> <bean id="loggingInterceptor" class="com.model.LoggingInterceptor"/> <bean id="reportLogger" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="reportData"/> <property name="interceptorNames"> <list> <value>loggingInterceptor</value> </list> </property> </bean>
It is sorta covered in the
JavaRanch Style Guide
subject: Spring AOP Logging Interceptor not working
Can we have more than one proxycreator for same bean
Spring AOP not working
Spring AOP question
org.springframework.ws.client.WebServiceTransportException: Method Not Allowed 
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014