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
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>
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Spring AOP Logging Interceptor not working
org.springframework.ws.client.WebServiceTransportException: Method Not Allowed 
Spring AOP question
Can we have more than one proxycreator for same bean
Spring AOP not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015