A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
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>
I agree. Here's the link:
subject: Spring AOP Logging Interceptor not working
Can we have more than one proxycreator for same bean
org.springframework.ws.client.WebServiceTransportException: Method Not Allowed 
Spring AOP not working
Spring AOP question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014