|
From: Erwin V. <erw...@er...> - 2005-06-18 16:33:25
|
I was wondering whether or not the framework should use it's own deprecated methods. For instance, on line 402 of ProxyFactoryBean we find: String[] globalAdvisorNames = BeanFactoryUtils.beanNamesIncludingAncestors(beanFactory, Advisor.class); And the "beanNamesIncludingAncestors" method of BeanFactoryUtils is deprecated. We could rewrite this using the new prefered method: String[] globalAdvisorNames = BeanFactoryUtils.beanNamesForTypeIncludingAncestors(beanFactory, Advisor.class); Is there a particular reason to keep using the old deprecated method? Erwin Vervaet erw...@er... |