hi, i have an interceptor and i am using BeanNameAutoProxyCreator to apply it to a set of service beans whose names have a pattern like org.xyz.*Manager.

<bean id="myAutoProxyCreator"
class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="beanNames">
<value>org.xyz.*Manager</value>
</property>
<property name="interceptorNames">
<list>
<idref bean="myInterceptor"/>
</bean>

however, this does not work. if i specify <value>*Manager</value>, then the interceptor is applied to too many beans.

what is the correct pattern?

i thought my pattern is similar to what i found in Spring's reference:
<property name="beanNames"><value>jdk*,onlyJdk</value></property>

thanks for your help,

pete