|
From: Cameron B. <ca...@da...> - 2004-03-29 08:04:35
|
I am using a BeanNameAutoProxyCreator to wrap my service beans in a security and a transaction interceptor. I have run into a situation where a bean, that is named in the beanNames property, isn't getting proxied. I am not receiving any exceptions. The BeanNameAutoProxyCreator loggs messages like [17:58:26]INFO [BeanNameAutoProxyCreator] Creating implicit proxy for bean 'authenticationService' with 2 common interceptors and 0 specific interceptors For all beans in the beanNames property, except two beans. The only thing that is special about these two beans is that they are depended on by another bean. If I remove this dependency (which will cause NullPointerExceptions when running my app), all of my service beans get proxied correctly. There are no ERROR messages, and no stack traces to report. If someone can help, I can send my applicationContext.xml and log output directly, since I don't want to share it with the world ;) Cheers, Cameron |