<bean id="txBeanNameProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="interceptorNames"> <list> <value>txInterceptor</value> </list> </property> <property name="beanNames"> <list> <value>*BL</value> </list> </property> </bean> とすると、クラス名が*BLのものに対してtxInterceptorが適用されますが*1、↓のクラスは適用外みたいです。。 <bean id="auth.bl.impl.AuthorizeBL" <-*BLにマッチするけど class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="proxyInterfaces"> <value>auth.bl.IAuthorizeBL</value> </property> <property name="target"> <ref bean="auth.bl.impl.AuthorizeBLTarget"/> </property> <property name="interceptorNames"> <list> <value>loggingInterceptor</value> </list> </property> </bean> クラスがorg.springframework.aop.framework.ProxyFactoryBean?とかになってるモノは除外、とかになってるのでしょうか。 この記事は 現在のアクセス:5131 |