I wired up an AfterReturning advice to my DAO as described below and it works just fine. Maybe there will be something helpful in the approach that I took, but it seems fairly equivalent to yours...
Type: Posts; User: sduncan; Keyword(s):
I wired up an AfterReturning advice to my DAO as described below and it works just fine. Maybe there will be something helpful in the approach that I took, but it seems fairly equivalent to yours...
Unfortunately that leaves us both scratching our heads. I'm running against 1.2.6 as well. I'll try a similar setup and see what I run into.
-Sean
It also seems a little curious why you would use a Regexp Pointcut Advisor and configure it with ".*". Why not just use the bare advice as the interceptor since you don't seem to want a pointcut at...
Looks like you forgot to configure the interceptor chain within the ProxyFactoryBean.
<bean id="businesslogicbean" class="org.springframework.aop.framework.ProxyFactoryBean">
<property...
As far as only advising one method ... It looks like you need to combine your advice with a pointcut to create an advisor and configure that as your interceptor.
I can't speak to the proxy of a...
Apparently if you list the taget bean name as the last value in the list of "interceptorNames" and leave out the "target" and "targetSource" property configurations it will pair up with a prototype...
I have a prototype Product bean that needs to be decorated with a per-instance MethodBeforeAdvice. It must be a per-instance advice because it needs to store one piece of internal state that doesn't...