File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
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