|
From: Rod J. <rod...@in...> - 2004-06-08 08:40:23
|
Alef >Would it be an idea to do a small refactoring of the BeanWrapper (for 1.1 or 1.2) and to create the following: AbstractBeanWrapper: - customer editors - introspection stuff - convenience methods (getPropertyNameTokens and some of the other ones) BeanWrapperImpl: - backed by an object and doing the actual setting and getting of properties >Yes yes, I know, extending the BeanWrapper is a rare use case, but by doing it I don't have to change a thing to my web layer ;-) I'm in favour of this refactoring. After all, the BeanWrapper interface only makes sense if BeanWrapperImpl isn't the only possible impl. Rgds Rod |