If I were to define a BeanNameAutoProxyCreator like this:
Does the same instance of the bean "performanceMonitoringInterceptor" get used in each proxy that gets created? Is this driven by how my performanceMonitoringInterceptor bean is configured by spring (id isSingleton=false)?Code:<bean name="myServiceProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="beanNames" value="*Service"/> <property name="interceptorNames"> <list> <value>performanceMonitoringInterceptor</value> </list> </property> </bean>
Josh


Reply With Quote