Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] @Pointcut("@target ...) matching all ... intended

Hi,

Is there a reason why this seems to match all when using Spring proxy
based AOP?
          
        @Pointcut("@target(org.springframework.stereotype.Service)")
        void service() {}

I'd take a guess at it being something to do with the proxy target not
being known at the point of creating the proxy, but it's not obvious.

Cheers,

Neale

-- 
  Neale Upstone
  neale@xxxxxxxxxxxxxxxx



Back to the top