On Fri, 11 Feb 2005 15:39:47 -0500, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > One thing I've been thinking about lately ... is it too late to > simplify BuilderFactory? > > 1) It should be named "InjectorFactory" because that (and event > registration) is what it does. >
+1. If it's not too much work then it would be nice if the BuilderFactory could remain as a deprecated factory for one release. > 2) Many of the elements are simply not necessary. > > Wiring of constructor args / properties takes care of : > <log> <messages> <error-handler> <error-log> <class-resolver> > > <service>, <set-service>, <configuration>, <set-configuration> can be > subsumed by > <object> <set-object> > > <boolean> <int> <long> <string> could also be converted into <object> > (give or take, we need to allow strings without prefixes to stay > strings and be converted as appropriate). > > log-property messages-property service-id-property error-log-property > error-handler-property class-resolver-property could all go as well, > we just need to trust the autowire logic. > +1. Also here it would be nice to keep all these elements as deprecated options for one release. Even for InjectorFactory, if that is to be the default factory in HM1.1. --knut --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
