Search:

Type: Posts; User: sduncan; Keyword(s):

Search: Search took 0.02 seconds.

  1. Here's a configuration that worked for me.

    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...
  2. Stumped

    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
  3. It also seems a little curious why you would use...

    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...
  4. Need interceptorNames

    Looks like you forgot to configure the interceptor chain within the ProxyFactoryBean.



    <bean id="businesslogicbean" class="org.springframework.aop.framework.ProxyFactoryBean">
    <property...
  5. Replies
    2
    Views
    797

    As far as only advising one method ... It looks...

    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...
  6. Figured it out

    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...
  7. Per-instance Advice and Target pairs exposed as Prototype bean

    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...
Results 1 to 7 of 7