Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Spring
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Sheriffs:
Rob Spoor
Junilu Lacar
paul wheaton
Saloon Keepers:
Stephan van Hulst
Tim Moores
Tim Holloway
Carey Brown
Scott Selikoff
Bartenders:
Piet Souris
Jj Roberts
fred rosenberger
Forum:
Spring
Spring AOP Logging Interceptor not working
Pauline McCall
Greenhorn
Posts: 2
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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>
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]
Spring AOP question
Can we have more than one proxycreator for same bean
Spring Advisor's
Spring AOP not working
More...