开发者

spring aop config

开发者 https://www.devze.com 2023-03-04 02:30 出处:网络
trying to do the below, basic开发者_如何学Goally capture all calls to all beans that end in \"Service\", except for calls to beans that end in \"BlahService\". But this isn\'t working. Do i have this

trying to do the below, basic开发者_如何学Goally capture all calls to all beans that end in "Service", except for calls to beans that end in "BlahService". But this isn't working. Do i have this correct?

 <aop:advisor pointcut="bean(*Service) and not bean(*BlahService)"
        advice-ref="someAdvisor" />
0

精彩评论

暂无评论...
验证码 换一张
取 消