From: Juergen H. <jho...@us...> - 2008-10-13 15:51:35
|
Update of /cvsroot/springframework/spring/src/org/springframework/beans/factory/support In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7773/src/org/springframework/beans/factory/support Modified Files: AbstractBeanFactory.java Log Message: exposed public "copyRegisteredEditorsTo" method on ConfigurableBeanFactory interface Index: AbstractBeanFactory.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/beans/factory/support/AbstractBeanFactory.java,v retrieving revision 1.206 retrieving revision 1.207 diff -C2 -d -r1.206 -r1.207 *** AbstractBeanFactory.java 15 Jul 2008 11:41:38 -0000 1.206 --- AbstractBeanFactory.java 13 Oct 2008 15:51:16 -0000 1.207 *************** *** 605,608 **** --- 605,612 ---- } + public void copyRegisteredEditorsTo(PropertyEditorRegistry registry) { + registerCustomEditors(registry); + } + /** * Return the map of custom editors, with Classes as keys *************** *** 877,884 **** * with this factory. To be called for BeanWrappers that will create * and populate bean instances. ! * <p>The default implementation delegates to <code>registerCustomEditors</code>. * Can be overridden in subclasses. * @param bw the BeanWrapper to initialize - * @see #registerCustomEditors */ protected void initBeanWrapper(BeanWrapper bw) { --- 881,887 ---- * with this factory. To be called for BeanWrappers that will create * and populate bean instances. ! * <p>The default implementation delegates to {@link #registerCustomEditors}. * Can be overridden in subclasses. * @param bw the BeanWrapper to initialize */ protected void initBeanWrapper(BeanWrapper bw) { *************** *** 888,892 **** /** * Initialize the given PropertyEditorRegistry with the custom editors ! * registered with this BeanFactory. * <p>To be called for BeanWrappers that will create and populate bean * instances, and for SimpleTypeConverter used for constructor argument --- 891,895 ---- /** * Initialize the given PropertyEditorRegistry with the custom editors ! * that have been registered with this BeanFactory. * <p>To be called for BeanWrappers that will create and populate bean * instances, and for SimpleTypeConverter used for constructor argument |